Re: How to send a mail with attachment and embedde (General questions)
Am,
You can try something like this:
[code]wodSmtp1.CreateSimple txtFrom.Text, txtTo.Text, txtSubject.Text, txtPlainText.Text
wodSmtp1.Message.Attach Text1.Text, image/gif , 1
wodSmtp1.Message.Parts(1).ContentDisposition = inline
wodSmtp1.SendMessage[/code]
This will send a message with plain text, and an embedded picture. If you wish to attach another file, just call Attach method again with the specific parameters.
I would also suggest that you try checking the following link: http://www.weonlydo.com/Smtp/Help/WODSMTPLib~SmtpMsg~Attach.html
For more information on wodSmtp's Attach method.
Can you please check it out and try?
Regards,
Damba
Complete thread:
- How to send a mail with attachment and embedded pi - am, 2008-05-11, 16:29
- Re: How to send a mail with attachment and embedde - wodDamir, 2008-05-11, 18:06
- Re: How to send a mail with attachment and embedde - am, 2008-05-11, 20:17
- Re: How to send a mail with attachment and embedde - wodDamir, 2008-05-11, 22:41
- Re: How to send a mail with attachment and embedde - am, 2008-05-12, 07:26
- Re: How to send a mail with attachment and embedde - wodDamir, 2008-05-11, 22:41
- Re: How to send a mail with attachment and embedde - am, 2008-05-11, 20:17
- Re: How to send a mail with attachment and embedde - wodDamir, 2008-05-11, 18:06