How to send message with multiply attachments (General questions)
Hello,
I need to send message with several attachments. Does wodSmtp component support it?
Thanks,
Alex
Hello,
I need to send message with several attachments. Does wodSmtp component support it?
Thanks,
Alex
by woddrazen , (6596 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
by Adam , (5425 days ago) @ woddrazen
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
by wodDamir , (5425 days ago) @ Adam
Adam,
I just tried calling Attach method twice, one after another, and the attachment was correctly added to the message.
Can you perhaps show me the code you're using to attach multiple attachments?
Regards,
Damba
Don't be fooled by the cost, it's value and quality far exceeds the price being charged!
...what I really like is that wodSSH and wodSFTP components work excellently and are constantly being improved...
I've heard that you are amazing with your replies coming back so quickly - and now I've seen the speed in which you reply first hand.
Congratulations on an excellent product and first rate support!
Your .NET components allow us to blend .NET technology seamlessly with secure communication, and with excellent technical support.
...with WOD's excellent support I was able to bypass Winsock and focus on the task at hand...
You made it so simple for us to integrate SFTP - a technology we had little experience with...
WeOnlyDo!COM will be the first stop I make should I require any further off-the-shelf components.
The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.
Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.