html-email

Need assistance with an HTML email

℡╲_俬逩灬. 提交于 2019-12-11 16:44:35
问题 I am currently building an HTML email and I inherited some code to work with, my current issue is that there is a section on the email that was built using tags and they are not display correctly on several email services. What alternatives do I have for blockquote? I have added my code below for your reference, I need to keep the same look but make it work. <!doctype html> <html> <head> <meta charset="utf-8"> <title>Example Title</title> <meta name="viewport" content="width=device-width,

HTML email - The href attribute did not hidden in some devices

蓝咒 提交于 2019-12-11 16:24:42
问题 In my EDM, I have: <p class="my_class" style="cursor: pointer; text-align: center;" > <a href="{{$my_variable}}" style="font-weight:bold;color:#2897FC;">Verify email</a></p> It should look like: but this is what I get: 回答1: This is a bug in Office 365 and Outlook.com. When you have any content other than a URL inside a href, Office 365 and Outlook.com will show this content inside the email between brackets. So the following example… <a href="Hello">world</a> … would become : [Hello]world The

TD taking up entire width of row

做~自己de王妃 提交于 2019-12-11 14:59:41
问题 I need to set up an HTML table for an email in which each column has a set width. The left column is just an image and the right is to have text. I have set td width but the td renders as 600px wide no matter what. The email can be viewed here Here is the code <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="description" content="Fitzgerald Description"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> Fitzgerald Email </title> </head> <body bgcolor

Gmail doesn't display some of embedded images

让人想犯罪 __ 提交于 2019-12-11 14:50:12
问题 I'm creating a service which sends emails with a lot of embedded images. And often these images are being randomly lost in gmail web client using Chrome and other browsers (see the attached screenshot). I'm sure that the images are send correctly. The images are attached to email and the missed images could be successfully downloaded using Chrome context menu. If I press ctrl+F5 the images will be shown (or other images disapear). Also these emails are being displayed fine in Thunderbird or

float alternative for email clients

允我心安 提交于 2019-12-11 14:40:46
问题 What is the float alternative for the email clients? Here is what I have using float. And I want the alternative approach to preserve the behavior exactly. html <div class="container"> <div class="leftText"> left text </div> <div class="rightText"> right text right text </div> </div> css .leftText { display: inline-block; border: 1px solid green; background: yellow; } .rightText { display: inline-block; float: right; border: 1px solid green; background: cyan; } jsfiddle Here is what I tried

Check if a device is iOS inside an HTML email

青春壹個敷衍的年華 提交于 2019-12-11 14:39:03
问题 Is it possible to check if a device is iOS inside an HTML email? I want to display Apple and Google maps schema links to the native apps, but only if the device supports it. 回答1: Had a look online and couldn't even find a hack in CSS. Shame there is no equivalent to the <!--[if gte mso 9]> tags. It looks like the answer is technically no... Good thing in this case is that Mac has different CSS support to other clients, so you can leverage that as a work around in email. Try using one of the

Email NewsLetter Background image and rounded corner

梦想与她 提交于 2019-12-11 13:54:29
问题 i am coding Email Templates . Psd given to me that is to be converted to email template is having rounded corners and some background images . Is it good to use background image and images to make rounded corners table or should i use css to make rounded corners along with background images . 回答1: Use images for your corners. You won't get border-radius to work properly across all clients. A 10x10 transparent .png is the best option. I didn't make the rounded corner images but you should get

What is the best way to generate HTML mail templates for the Grails mail plugin?

巧了我就是萌 提交于 2019-12-11 13:32:11
问题 With the Grails Mail plugin you can either send plain text or html mails. When sending html mails like this: sendMail { to "fred@g2one.com" subject "Hello John" html(view: htmlTemplate, model: args) } It is recommended to make css inline in mail html, because it will be accepted by more mail clients. The problem is, that these html files are hard to read and maintain. Is there a way to generate these mail templates in a smarter way than writing inline css? What is a best practice to generate

HTML email - TD hover to change back background-color not working

青春壹個敷衍的年華 提交于 2019-12-11 13:25:49
问题 My codepen: http://codepen.io/leongaban/pen/iJBrn Note this isn't for a regular webpage, I'm building an HTML email, however for modern browsers / email clients it would be nice to have a simple rollover color (no javascript). Not sure why my hover isn't work. I'm using code found from the other TD hover stackoverflow questions I've found so far. td.blue-button:hover { background-color: #267aa6; } How would you create this? 回答1: You inline style is taking precedence over the external td.blue

trying to send a basic email to folder

懵懂的女人 提交于 2019-12-11 13:08:19
问题 I am trying to send a basic email to a folderbut howerver, even though I do receive the email, the body is missing completely. private void MailReport() { string to = "arianul@gmail.com"; string From = "ArianG@lr.co.za"; string subject = "Report"; **string Body = "Dear sir ,<br> Plz Check d Attachment <br><br>";** bool send = sendMail(to, From, subject, Body); if (send == true) { string CloseWindow = "alert('Mail Sent Successfully!');"; ClientScript.RegisterStartupScript(this.GetType(),