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

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

by nightwalker83, Friday, August 06, 2010, 10:11 (5222 days ago) @ wodDamir

NightWalker,

You're setting Body property just before sending the message. Since Body property contains the actual *BODY* of the message, including the Headers, you basically erase the TO, FROM, etc. headers.

Instead of setting the Body property to message contents, please try setting Text, PlainText, or HTMLText properties. These are the ones that should contain message text.

Regards,
Damba

Well, I still receive the Destination SMTP Server rejected the sender even after adding .Blocking = True in the send event and after that on load.


Complete thread: