Re: How to send message with multiply attachments (General questions)
Hi Alex,
Yes of course you can add as many files in attachment as you want. For each file you should call wodSMTP SmtpMsg Object Attach Method which will add file to your message attachment.
[code]
...
wodSmtp1.Message.Attach c:\file1.exe
wodSmtp1.Message.Attach c:\file2.exewodSmtp1.SendMessage [/code]
More help for Attach Method you can find here:
http://www.weonlydo.com/Smtp/Help/WODSMTPLib~SmtpMsg~Attach.htmlLet us know ho wit goes.
Regards,
Drazen
Every time I use the wodSmtp1.Message.Attach a second time I get the error Failed to open attachment file . In my test I can send each of the attachments individually I just can not add them both to the same message.
-Adam
Complete thread:
- How to send message with multiply attachments - Alex, 2007-06-12, 19:07
- Re: How to send message with multiply attachments - woddrazen, 2007-06-12, 19:32
- Re: How to send message with multiply attachments - Adam, 2010-08-26, 22:46
- Re: How to send message with multiply attachments - wodDamir, 2010-08-26, 23:04
- Re: How to send message with multiply attachments - Adam, 2010-08-26, 22:46
- Re: How to send message with multiply attachments - woddrazen, 2007-06-12, 19:32