Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send attachment via mailserver 1

Status
Not open for further replies.

sdmi

Programmer
Dec 6, 2001
17
US
My program automatically should send email with attachment.
However, program doesn't send attachment.
My code for attachment is:
thisform.MailService1.Message.AttachmentPathName = &outputFile
Any one can help? Thanks.
 
Hi,

try

thisform.MailService1.Message.AttachmentIndex=0
thisform.MailService1.Message.AttachmentPathName = outputFile &&& not &outputfile

thisform.MailService1.Message.AttachmentIndex=1
thisform.MailService1.Message.AttachmentPathName = outputFile1
... Andrea C.P.
Italy [atom]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top