Hi, I am running the bot as per the below link. However I get a blank message displayed. I am trying just a few lines in the Email, but still I get blank in the output.
I can display and see “mailMessage.Subject”
but cannot view “mailMessage.Body” what ever I do.
Thank you for your reply Vicky. Yes,I had both subject and body displayed separately, dint work. In fact the example on the portal itself is for body- doesnt work.
well, ok! cracked it at last
The sample works only for plain-text mail messages. So, if it were HTML messages this stays blank.
The genius of an answer is here
Although its a typo there, the correct assignment is to be mail.Headers("HTMLBody").ToString
Hope this helps someone who has been having sleepless nights.