|
| mailto: and attachments |
 |
Tue, 01 Apr 2008 02:03:02 -040 |
Hello again
I am trying to send, as an attachment, a PDF document that was just saved.
I put the file name on the clipboard with code, then
vPath= "C:\Myfolder\" //These three lines of code are in the original
macro.
v=ClipboardGet
PdfDlg(vPath+v+".pdf") //All is fine.
Now I want to send this pdf file automatically via email.
I get the email address to the clipboard with some code (I change the
clipboard contents), then
vPath= "C:\Myfolder\"
f=ClipboardGet //The new email address clipboard content.
vaddress=f
vBody= "Thank you."
vSubject="Thank you email."
vAttachment= "vPath"+f //The f is now the new clipboard contents
Appexecute("mailto:"+vAddress+"?subject="+vSubject+"&am
p;body="+vbody+"&attachment="+vAttachment)
Everything is in the email Dlg, but it is the Attachment business that I
am messing up somehow.
Was the old post still true in wpuniverse.com that mailto: cannot
support attachments?
|
| Post Reply
|
| Re: mailto: and attachments |
 |
Tue, 01 Apr 2008 11:59:00 -050 |
As I told you in your Macro FileSave thread, the method to email
attachments depends on your email Application. If you tell us what it
is, we might be able to suggest a method.
When using the MailTo protocol, attachments for Mozilla Thunderbird,
Windows Mail (Vista), Eudora 7.1 - All of them ignore the attachments
always, no error shown.
You can easily test MailTo in Start > Run.
|
| Post Reply
|
| Re: mailto: and attachments |
 |
Tue, 01 Apr 2008 12:14:57 -050 |
As I told you in your Macro FileSave thread, the method to email
attachments depends on your email Application. If you tell us what it
is, we might be able to suggest a method.
When using the MailTo protocol, attachments for Mozilla Thunderbird,
Windows Mail (Vista), Eudora 7.1 - All of them ignore the attachments
always, no error shown. I would add to this Lotus Notes.
For me, MailTo: gives an error saying that the default email program was
not properly installed.
You can easily test MailTo in Start > Run.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|