Re: How to send message with multiply attachments - WeOnlyDo Discussion board

Re: How to send message with multiply attachments (General questions)

by woddrazen, Tuesday, June 12, 2007, 19:32 (6374 days ago) @ Alex

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.exe

wodSmtp1.SendMessage [/code]
More help for Attach Method you can find here:
http://www.weonlydo.com/Smtp/Help/WODSMTPLib~SmtpMsg~Attach.html

Let us know ho wit goes.


Regards,
Drazen


Complete thread: