mailto attachment

Started by edjack, November 11, 2019, 11:52:29 AM

Previous topic - Next topic

edjack

Using SYSTEM_HELP "Mailto:"+EMAIL$
Is there a way to specify a file attachment with this command?
Ed Jack
Computerease

Allen Miglore

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

Ken Sproul


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!

Ken Sproul
DPI Information Service, Inc.
Pivotal Systems LLC

edjack

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.

Ed Jack
Computerease

Mike King

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.
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com