Toggle navigation
PxPlus User Forum
PxPlus User Forum
»
Main Board
»
Discussions
»
Programming
»
mailto attachment
Likes
« previous
next »
Print
Pages: [
1
]
Author
Topic: mailto attachment (Read 2059 times)
edjack
Silver Member
Posts: 45
Computerease
mailto attachment
«
on:
November 11, 2019, 11:52:29 AM »
Using SYSTEM_HELP "Mailto:"+EMAIL$
Is there a way to specify a file attachment with this command?
Logged
Ed Jack
Computerease
Allen Miglore
Silver Member
Posts: 39
Re: mailto attachment
«
Reply #1 on:
November 11, 2019, 12:22:27 PM »
No - just a few header fields plus a special field called "body". If a mailto url could get you to send an attachment, a website could be requesting some pretty sensitive information.
https://tools.ietf.org/html/rfc6068
Logged
Ken Sproul
Gold Member
Posts: 61
Re: mailto attachment
«
Reply #2 on:
November 11, 2019, 03:10:42 PM »
I wanted to do the same thing a while ago, and ended up using the outlook executable with switches to accomplish what I wanted.
invoke %wdx$+"outlook.exe /a "+quo+
file_path$
+quo+" /m "+quo+
to_address$
+"&subject=
The Subject
"+quo
Hope this helps!
Logged
Ken Sproul
DPI Information Service, Inc.
Pivotal Systems LLC
edjack
Silver Member
Posts: 45
Computerease
Re: mailto attachment
«
Reply #3 on:
November 12, 2019, 08:33:17 AM »
Quote from: edjack on November 11, 2019, 11:52:29 AM
Using SYSTEM_HELP "Mailto:"+EMAIL$
Is there a way to specify a file attachment with this command?
After some on-line reserch... this cannot be done...
Our work around was to write the attachment file names to the clipboard and provide on screen instructions to paste into the mail app when appropriate.
This saves the users a couple of steps and ensures the proper file is attached.
Logged
Ed Jack
Computerease
Mike King
Diamond Member
Posts: 3828
Mike King
Re: mailto attachment
«
Reply #4 on:
November 13, 2019, 08:56:15 AM »
Ed,
Why not use the *web/email utility?
It is now included in the base product and provides the ability to send emails with attachments.
Logged
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com
Print
Pages: [
1
]
« previous
next »
PxPlus User Forum
»
Main Board
»
Discussions
»
Programming
»
mailto attachment