| |
| Publicado el 16,junio 2018 - 16:12 |
Hi all,
RTFtoHTML in version 23 can include images into the HTML-file. When I use this in an emailconstruction email.HTML = RTFtoHTML(RTFfile) the email is received i.e. on my phone with the image shiown in the email. Also in Windows Live Mail the image is shown correct.
Only Microsoft Outlook does not show the image (only the empty rectangle). Normally My Outlook receives images from senders ok, so it can't be a setting.
Anybody with a clue ??
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 16,junio 2018 - 16:45 |
Hi
a clue, no
and idea how to find a clue, yes : save and study (or show us) the email SOURCE (..source property) before sending it and compare it to what you have in outlook, both when you receive YOUR email and when your receive and email with a picture correctly displayed.
The way the internal images are managed must be different, and you'll find out HOW this way...
Then we can talk
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,junio 2018 - 01:44 |
| I had this issue and reported it to technical support with a test project. They confirmed the behavior. PC Soft sent the issue on to their developers who replied that this is normal with their Outlook interface. Only text messages can be sent via Outlook. I had to set up an SMTP outgoing service and give the option to send a BCC to the sender so they would have a copy in Outlook. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,junio 2018 - 10:42 |
Hello Jeff,
Thanks very much for you reaction. So this won't be solved in the near future I guess.
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,junio 2018 - 11:16 |
Hi Aad,
try using EmailImportHTML() on your email variable. I use this with success to send email with a corporatie logo in it. Perfectly shown in Outlook.This function basicly trasnform your images to attachements and replaces them by a CID tag in the email source. AsFabrice mentioned, loooking at the email-source property will give you quite some info. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,junio 2018 - 12:06 |
Hi Arie,
Do you save the *.htm file first and read it in with EmailImportHtml ??
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,junio 2018 - 14:22 |
No need for that, I have the email text in a variable, which in turn is read from a parameter-file in the database. You can also use the database field directly if you want.
EmailImportHTML(myEmail,sMessage,fCurrentDir()) Of course you have to make sure the images can be found by the code.
In my case the email is send by a service running somewhere on a server. In my software the user can enter tekst and so on using the html control. This allows themalo to include images. But after that the user has to tweak the html a bit, by using right click on the image-link and remove the hardcoded link to the local directory. And the images need to be on the server as well. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,junio 2018 - 16:06 |
Hi Arie,
Thank you for your explanation. In my case, emails have different logo's because of serveral companies. In your case I need to get the logo's in a directory first, before I can use the email. That's why the RTFtoHTML function was very usefull to me, because you can include the image. In fact it's not so useful, because Outlook does not handle this (see Jeff Graham's post). Would be nice that they mention this in the helpfile like they most of the time do. Will spare a lot of time and effort.
Thanks again for your help.
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,junio 2018 - 14:47 |
Aad
Unless I miss interpreted your issue the use case that Jeff described was not related.
Jeff was describing utilizing Outlook for sending email with the associated built-in functions and being limited via the Outlook interface.
Fabrice gave the logical advice, what does the raw message look like. This would give us an indication as to the mime type that the image was sent as and the encoding in the body.
If I interpreted correctly since Outlook actually rendered a "red" rectangle representing the image then your most definitely not seeing just plain text in Outlook and it's either a security issue in Outlook for the rendering or the mime type or encoding is the issue. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,junio 2018 - 15:32 |
Hello Eric,
The problem is quite simple. Outlook does not show the image, while every other mailclient does. Even the emailclient on my phone and Gmail. So using RTFtoHTML works perfect for every mailclient but Outlook.
The raw message does not give any indication, what happens to the image and if so, I could not influence the RTFtoHTML, because there are no parameters available other then the 2 mentioned in the Helpfile.
Thanks for your reaction though. If you are interested I can send you an axample. Maybe I am missing something. I'm not so into raw mailcode 
Best regards,
Aad
.. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,junio 2018 - 16:53 |
Aad
My recommendation for looking at the raw email message constructed via Windev is that this piece of info as Fabrice indicated draws a line between whether it's a Windev issue or an email client issue so you can best focus your efforts in the right place.
Once it's determined that the message was constructed according to the RFCs and from your data (renders on other email clients) it's probably constructed correctly and not a Windev issue.
Philosophically we can either embed and image as a mine attachment or reference it as an image hosted on an http server. The mechanics as to how each email client attempts to render that image is layered in a multitude of variables (technical and security) specific to each.
Since you don't give us any indication as to which version of Outlook you're testing with or what OS your on it's hard to help you with Outlook specific issues / recommendations - although that would be out of the scope of this forum.
I can tell you from supporting Outlook from version 97 through 2016 on PC/Mac and now phones the only thing that is simple in this issue is determining if it's a Windev problem or not. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,junio 2018 - 17:06 |
Hi Eric,
I tested 4 or 5 clients. All of them show the image in the correct way on the correct place. So it's a Outlook problem that PCSoft probably cannot tackle. I have an older version of Outlook (version 2007), so maybe that's the problem.
I can send the mail to someone with a more recent version of Outlook to see if that solves it. Anyway there is no simple solution.
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,junio 2018 - 19:43 |
| Try to send the email to a hotmail account and check if you can see the image. |
| |
| |
| | | |
|
| | |