B4J Question [SOLVED] Sending emails to outlook with web based images [SOLVED]

Peter Lewis

Active Member
Licensed User
Longtime User
Hi All

I have been trying to send a html email to Outlook with no luck. the text arrives but nothing else.

I see that the html on SMTP changes the text that I input.

I went to a spam email that someone sent to me which worked and displayed the images from a url. I copied the html code from the outlook message and saved that to an html file.

I then checked the source by opening it in a browser and it works perfectly, and in outlook.

So I imported this html file into my program and assigned it to smtp.body and also I have smtp.HtmlBody = True

But when it arrives it does not display correctly and looking at the source of the message , there are some letters missing

And looking at the data after importing it , looks perfect.


Having these letters missing is the reason why it is not working.

Has any one also experienced this ?

The initial source of the html is attached

Thank you
 

Attachments

  • peterrec.zip
    8.7 KB · Views: 240
Last edited:

Peter Lewis

Active Member
Licensed User
Longtime User
WOW , I just knew you would have the right answer ... MASTER

Thank you
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…