Re: Difference between wodSmtp1.SendMessage and w - WeOnlyDo Discussion board

Re: Difference between wodSmtp1.SendMessage and w (General questions)

by wodDamir, Wednesday, August 04, 2010, 14:14 (5224 days ago) @ Nightwalker

Hi,

Perhaps it would be best for you to check our samples. I.e. 4. Use 'smarthost' describes exactly what you're trying.

Basically, you need to set the properties SendSimple method does on your own:

[code] wodSmtp1.Message.From = sender_email
wodSmtp1.Message.To = receiving_email
wodSmtp1.Message.Subject = E-Mail subject
wodSmtp1.Message.Text = message content

wodSmtp1.SendMessage [/code]

Something like that should work. Please give it a try.

Regards,
Damba


Complete thread: