sgtpeppers Posted March 3, 2007 Share Posted March 3, 2007 I'm trying to send E-mails through PHPMailer. However, the messages are marked as spam by gmail and my student e-mail server. Here's the header that's being sent: Delivered-To: my@email.com Received: by 10.114.25.9 with SMTP id 9cs728952way; Sat, 3 Mar 2007 14:50:58 -0800 (PST) Received: by 10.90.103.2 with SMTP id a2mr3869721agc.1172962258089; Sat, 03 Mar 2007 14:50:58 -0800 (PST) Return-Path: <sending@email.com> Received: from REMOVED-THIS by mx.google.com with ESMTP id 19si4184484agb.2007.03.03.14.50.57; Sat, 03 Mar 2007 14:50:58 -0800 (PST) Received-SPF: neutral (google.com: REMOEVD-THIS is neither permitted nor denied by best guess record for domain of sending@email.com) Received: from [12.197.242.2] (helo=sgtpeppers) by my@site.com with esmtpa (Exim 4.63) (envelope-from <sending@email.com>) id 1HNd45-0001UY-Fe for my@email.com; Sat, 03 Mar 2007 17:50:57 -0500 Date: Sat, 3 Mar 2007 16:51:01 -0600 To: my@email.com From: Web signup form <sending@email.com> Reply-to: Web signup form <sending@email.com> Subject: Welcome to the test! Message-ID: <3b2c15e7a3b880bef358eb8c1e087335@sgtpeppers> X-Priority: 3 X-Mailer: PHPMailer [version 1.73] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_3b2c15e7a3b880bef358eb8c1e087335" X-Antivirus-Scanner: This message has been scanned by ClamAV. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - my.server.com X-AntiAbuse: Original Domain - gmail.com X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - server.com X-Source: X-Source-Args: X-Source-Dir: I replaced the e-mail and server ip addresses. I'm using site5 as a host, and I have the domain registered through godaddy. I changed the nameservers to point to site5. Here's the code i'm using to setup the header $mail->IsSMTP(); // set mailer to use SMTP $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Host = $this->smtpHostNames; $mail->Username = $this->smtpUserName; $mail->Password = $this->smtpPassword; $mail->From = $this->from; $mail->FromName = $this->fromName; $mail->AddAddress($this->to, $this->toName ); $mail->AddReplyTo($this->from, $this->fromName ); $mail->CharSet = 'UTF-8'; $mail->WordWrap = 50; // set word wrap to 50 characters Any help would be awesome. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.