I am using the joomla mail function. I have attached a background-image for the message body.
The image is displayed in all tools like: Gmail, Yahoo, Rediff etc.
But it does not show in Outlook 2007.
Seaching the internet, I did not get any information to let me know, wether the img tag is supported in Outlook
Background images are not supported in Outlook for any elements other than the body tag of an HTML email. The body of the email is not the same thing as it refers to the contents of the email and not the HTML body tag.
You might also look at this hack to enable background images in outlook - http://emailmarketingvoodoo.com/blog/post/outlook-2007-can-now-render-background-images/
Related
I have some trouble to correctly embed images in html/php email.
My .php file just sends out a few text emails. But I want a picture in there.
<img src="http://website/image.jpg"> works so far but outlook blocks the image and I have to click download images every time.
So I found out that this is the behaviour of linked images. What I need is an embeded image.
<img src="image.jpg"> seems easy but does not work. The image is in the root directory of the index.php but the Mail does not contain the image. Just an error appears: "image cant be displayed".
I swear I googled for 2 hours now. How do the companies do that with their signature.
I appreciate your help.
I've done the company signature couple days ago and found a lot of problems.
For instance, you can set background-image and gmail and most of the email managers will display it, but outlook will not.
For images isn't the same.
Outlook will display your image, usually when it's https://...
In my case I was using firebase hosting to locate the images and 0 problems with that.
<img data-imagetype="External" src="https://firebasestorage.googleapis.com/..." class="x_gmail-CToWUd">
I use this signature in gmail, and outlook is displaying that <img> tag without any problems, and no need to make any attachment.
The data-imagetype is added from outlook when receiving the email and the class x_gmail... too.
Hope this will help you, if not I'll try to find a better solution for you.
Most email clients block images as a default. It’s up to the user or administrator to overcome this behavior. You can’t override it in email.
Is there a way I can embed a URL link i.e. Google in an SMS message send through [myphonenumber]#txt.att.net ? And I want to add some parameters in the URL. The link shows up as un-clickable plain text in the SMS with html tag. The html tag appears in the SMS. I want to hide or embed html codes. I pass the parameters with this url in my Controler. When sending sms, I found out the html codes are including in the sms.
SMS is a text-only medium that does not interpret HTML tags on its own. Depending on the receiving device, it may detect a hyperlink in the message, but there is no way to embed it as an
<a href>
tag
github.com/cordova-sms/cordova-sms-plugin/issues/63
I made a laravel email client that displays emails as conversations, but the problem is how to restrict styles only for emails? Once I open an email with tags the whole email client's style changes. For example tags underlines and changes color. If I remove style or put !important to main css file then emails loose their original appearance.Any suggestions?
Personally I would use an iframe for rendering the email content. This way any styles/tags within the email content are restricted to the iframe only and the email is rendered as intended.
How to send html email with image background via PHPMailer?
I need standart html template with image backgrounds
It's not really up to PHPMailer, it's determined by the content you provide in the message body, but I'd suggest you stay away from image backgrounds anyway because Outlook does not support them.
I am trying to send email as html with embedded images (not attachment) and as background.
I was trying to use Xpert Mailer but their documantion has small amount of information so I didnt succeed.
I was also trying to use Swiftmailer, with Swiftmailer I succeed to send email with embedded images but not as background.
Anyone has any clue how to send embbed images as background / has good PHP Email Sender?
Thanks!
Don't know about the apps you're using but this can be done by embedding the images in base64 format, looks like this:
<img src="data:image/gif;base64,R0lGODlhUAABLABLAMOREBASE64HERE">
Quick google search shows the following converter site: click
I found the answer. the problem was not my html or how I embedded the image. tha problem was that gmail doesnt support css property background / background-image and therefore it didnt work for me.
I had to use