newsletter


Most efficient way to send newsletters [closed]

心不动则不痛 提交于 2020-01-12 05:47:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Today when I'm sending basic emails, I use a "Mail" class which is a custom wrapper using SwiftMailer, like so : <?php Mail::create('Message title') ->template('Template string or view path. Global variable "var" is "{var}". Current user is {username}.') ->tags(array('var' => 'value 1')) ->from('contact@mydomain

How to create a hover effect in a newsletter?

梦想的初衷 提交于 2020-01-12 03:22:05
问题 I'm creating a newsletter, and i want to have panels that change background-color on mouse over. Seeing as the newsletter wont have a head, I am defining all styles inline. I'm pretty sure most popular mail clients will block JS. So I was wondering if I can define a hover effect in the style attribute. Or is there any other solution to achieve this effect? Peace 回答1: Have you checked these? http://www.campaignmonitor.com/css/ http://www.hongkiat.com/blog/design-perfect-newsletter/ The latter

HTML newsletter - remove iphone underline

萝らか妹 提交于 2020-01-06 19:46:32
问题 I am developing a newsletter which should work on Outlook 2007 iPhone and iPad. Ideally I would like to have links in the footer which are underlined but iPad and iPhone add their blue underline automatically to any link. And I can't get rid of it in any way (I googled already and read at least 10 different articles about this problematic) Can someone please help me understanding what I do wrong? I tried with lists but I can't get them on the same line anymore. This is my code: <html xmlns=

OutLook renders unnecessary space

ε祈祈猫儿з 提交于 2020-01-06 13:04:27
问题 My HTML is like this <tr> <td align="left" valign="top"> <table width="590" border="0" cellspacing="0" cellpadding="0"> <tbody><tr> <td width="296" align="left" valign="top"> <table width="285" border="0" align="left" cellpadding="0" cellspacing="0"> <tbody><tr> <td height="38" colspan="2" align="left" valign="top"> <h2 style="font-size:18px;color:#535353;padding-top:0;font-family:Arial, Helvetica, sans-serif;"><a href="#" style="text-decoration:none;color:#535353;" target="_blank" class="c

Email newsletter rendering issues in Outlook 2010

僤鯓⒐⒋嵵緔 提交于 2020-01-06 08:34:25
问题 These are probably some silly questions/errors but I really go cross-eyed with html emails and I'm at the end of my tether, so I wondered if I could run this past you. I'm having difficultly displaying an email I've created. The main offender is Outlook 2010, in which there are the following errors (I've labeled the text) - "TITLE TEXT HERE" and "MORE HERE" are forced onto the line beneath the logo - "images/my_logo_1.jpg" The top banner "images/img_row_1.jpg" should be the same width as the

how to include php html file in PEAR mail

╄→гoц情女王★ 提交于 2020-01-05 03:46:11
问题 I have a php file that I use to send newsletters. Recently I moved to a new server and they use PEAR Mail instead of the default PHP mail to send mails and I had to update my script to function. But it's still not working. I get the TXT version not the HTML version. If I manually enter the html codes inside the setHTMLBody() it works but when I replace it with my ob_start $output_string variable it doesn't work. Here is my script; ob_start(); include "URL/To/File.php"; $output_string = ob_get

Sending HTML newsletters with plain-text fallback

╄→尐↘猪︶ㄣ 提交于 2020-01-01 10:08:46
问题 I am currently using a script which uses file_get_contents to get the contents of a php file, and then sends it inside an email to a list of customers. I would like to alter the script to allow for plain-text fallback to reduce the risk of being marked as spam. This is the script I have at the moment: function sendit($to,$subject,$body) { $headers = "To: <{$to}>\n". "From: Test Newsletter Admin <newsletter@test.co.uk>\n". "Reply-To: Test Newsletter Admin <newsletter@test.co.uk>\n". "MIME

How do I remove link underlining in my HTML email?

拥有回忆 提交于 2019-12-29 03:52:08
问题 <td width="110" align="center" valign="top" style="color:#000000;"> <a href="https://example.com" target="_blank" style="color:#000000; text-decoration:none;">BOOK NOW </a> </td> I used this code to make a link in my HTML email. In browsers and Outlook it's working nicely, but in GMail, Hotmail, and ymail it shows links underlined. Can anyone help me to get rid of this? 回答1: <a href="#" style="text-decoration:none !important; text-decoration:none;">BOOK NOW</a> Outlook will strip out the

How make background image on newsletter in outlook?

自作多情 提交于 2019-12-27 11:04:35
问题 I'm trying to make newsletter where I have some image as background and text on it. This is easy but I need this to work on Ms Outlook . What I have tried: 1. <td width="100" height="100" style="background: url('someurl');">text</td> 2. <td width="100" height="100" background="someurl">text</td> 3. <td width="100" height="100"> <div style="width: 0px; height:0px; position: relative;"> <div style="width: 100px; height: 100px; position: absolute; background: url('someurl')"> text </div> </div>

Confusion about css coding standards for Html Email newsletter

强颜欢笑 提交于 2019-12-25 09:51:08
问题 i am coding Email newsletters. i have seen some guidelines regarding Good email coding.. i want to ask about css code for Email newsletters for example its preffered to code inline css but for some free templates i found code like this <style type="text/css"> body { color:#000; background-color:#fff; font-family:Arial, Helvetica, sansserif; text-align:center; } h2 { color:#2255DB; font-size:16px; margin-top:15px; margin-bottom:0px; } h2 a:link { text-decoration:none; } .footer { fontsize:11px

工具导航Map