Page 1 of 1

Sendmail message comes out wrong

Posted: Thu Jun 21, 2007 1:33 pm
by Technocrat
No matter what I put for the content I get a message id. The reply to is not what it should be either I dont think. Maybe I am missing something or it might be my ignorance with Sendmail??

This may have to do with the changes I made in:
viewtopic.php?p=392790#392790

Email and urls changed
Delivered-To: Technocrat-Evo@gmail.com
Received: by 10.66.221.20 with SMTP id t20cs43625ugg;
Thu, 21 Jun 2007 11:10:39 -0700 (PDT)
Received: by 10.114.198.1 with SMTP id v1mr1941002waf.1182449438655;
Thu, 21 Jun 2007 11:10:38 -0700 (PDT)
Return-Path: <customer@host90.hostmonster.com>
Received: from outbound-mail-38.bluehost.com (outbound-mail-38.bluehost.com [69.89.20.192])
by mx.google.com with SMTP id m30si1342866wag.2007.06.21.11.10.38;
Thu, 21 Jun 2007 11:10:38 -0700 (PDT)
Received-SPF: neutral (google.com: 69.89.20.192 is neither permitted nor denied by best guess record for domain of customer@host90.hostmonster.com)
Message-Id: <467abf1e.1ed6720a.6149.fffffeb4SMTPIN_ADDED@mx.google.com>
Received: (qmail 4197 invoked by uid 0); 21 Jun 2007 18:10:37 -0000
Received: from unknown (HELO host90.hostmonster.com) (74.220.207.90)
by mailproxy2.bluehost.com with SMTP; 21 Jun 2007 18:10:37 -0000
Received: from localhost ([127.0.0.1] helo=host90.hostmonster.com)
by host90.hostmonster.com with esmtp (Exim 4.63)
(envelope-from <customer@host90.hostmonster.com>)
id 1I1R77-0003gu-7q
for Technocrat-Evo@gmail.com; Thu, 21 Jun 2007 12:10:37 -0600
X-Originating-IP: [216.103.178.75]
To: Technocrat-Evo@gmail.com
From: customer@host90.hostmonster.com
Reply-To: contact@vagueserver.com
Subject: Test
Date: Thu, 21 Jun 2007 12:10:36 -0600
X-LibVersion: 3.2.4_4
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Identified-User: {511:host90.hostmonster.com:customer:customertat.com} {sentby:program running on server}

Message-ID: <20070621181036.14189.1546480310.swift@customertat.com>

Posted: Thu Jun 21, 2007 1:39 pm
by Chris Corbyn
Can you post the code please? I'm baffled with what's happened to the headers on it's journey.

Is this header added by your host?
X-Identified-User: {511:host90.hostmonster.com:customer:customertat.com} {sentby:program running on server}

Posted: Thu Jun 21, 2007 1:45 pm
by Technocrat
Yeah probably. I changed this persons name to customer just to keep a bit of privacy.

Code: Select all

$message =& new Swift_Message($subject, $content, "text/html");
        $sent = $swift->send($message, $to, $from);
$subject = 'test';
$content = 'Test123456';
$to = myemail address;
$from = his email address;