auto attaching an Attachment (Email)
Posted: Sat Jan 26, 2013 2:00 am
I am having issues with auto attaching an attachment when generating a new email. My program is a simple form that the user saves as a .PDF to the same location every time with the same file name and extension. I would like to have the saved .PDF automatically placed in the body of the email so all the user has to do is click send. I have the specialFolderPath as follows:
put specialFolderPath("documents") & "/CheckList.pdf" into tPDFPath
then this for opening a new email to be sent:
revMail "someone@jcas.net",, vCombo, "attachment Here"
"vCombo" is a variable that I have set up to automatically populate the subject field....
I am not sure how to go about telling revMail how to attach the saved file to the message....any ideas?
put specialFolderPath("documents") & "/CheckList.pdf" into tPDFPath
then this for opening a new email to be sent:
revMail "someone@jcas.net",, vCombo, "attachment Here"
"vCombo" is a variable that I have set up to automatically populate the subject field....
I am not sure how to go about telling revMail how to attach the saved file to the message....any ideas?