attachment syntax for variables

Support, Questions and Discussions on SimpleMail

Moderator: alorbach

Google Ads


attachment syntax for variables

Postby garyross » Wed Feb 23, 2005 10:14 pm

This may be silly, but I'm having trouble using variables for AttachFile command.

This sends without error, but with no attachment:
localname = "C:\whateverpath\whateverfile.txt"
displayname = "whateverfile.txt"
o.Attachfile localname,displayname

Any help is appreciated.
garyross
 

Postby alorbach » Thu Feb 24, 2005 10:47 am

Hi,

how does the rest of your script look like?
If you use the "ProcessingMode" property, make sure it is set to 2 (MIME), because in mode 0 and 1, attachments won't work.

best regards,
Andre Lorbach
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to SimpleMail

Who is online

Users browsing this forum: No registered users and 0 guests

cron