Note that there are some explanatory texts on larger screens.

plurals
  1. POwhen using Zend_mail my emails seem to be treated as spam, send through outlook and there not?
    primarykey
    data
    text
    <p>I'm trying to sort out an opt in mailing list system. I understand the basic principles and design required but i'm having an issue with it being picked up as spam.</p> <p>If i send a html email through outlook through email@domain.com it works fine and is not treated as spam. When i use the Zend_mail object to send mail it sends but is treated as spam on the test emails accounts i'm sending it too.</p> <p>This is the code im using to send an email item.</p> <pre><code>//send an email $mail = new Zend_Mail(); $config = array('auth' =&gt; 'login','username' =&gt; 'email@domain.com','password' =&gt; 'mypassword'); $transport = new Zend_Mail_Transport_Smtp('mail.domain.com', $config); $mail-&gt;setSubject($item-&gt;title); $mail-&gt;setFrom("email@domain.com"); $mail-&gt;addTo($item-&gt;email, $item-&gt;forename); //$mail-&gt;setBodyText($item-&gt;contentPlain); $mail-&gt;setBodyHtml($item-&gt;contentHTML); $mail-&gt;send($transport); </code></pre> <p>As you can see im using the smtp transport object to authenticate but it still seems to treat this as spam. Anyone with pointers or tips is very much appreciated!!</p> <p>Header info from the email that is treated as spam:</p> <p>It seems to contain a couple of client domain names in the header info that i host for people any ideas why that would be the case? I use a shared IP address with about 10 domains on it</p> <pre><code> Received: (qmail 1436 invoked from network); 14 Aug 2009 16:02:10 +0100 Received: from clientdomain1.co.uk (HELO localhost) (91.192.***.196) by clientdomain2.info with SMTP; 14 Aug 2009 16:02:10 +0100 Subject: Manchester 2 Day Seminar: Dealing with difficult people From: events@domain.com To: Andi &lt;subscriber1@domain.com&gt; Date: Fri, 14 Aug 2009 15:02:10 +0000 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline MIME-Version: 1.0 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload