Friday, September 24, 2010

Address in email header

I am using CakePHP framework, so I set this variables:
$this->Email->from =
Configure::read('Site.noreplyemail');
$this->Email->return =
Configure::read('Site.noreplyemail');
$this->Email-
>replyTo=Configure::read('Site.noreplyemail');
where Configure::read('Site.noreplyemail') is the email address

But this didnt changed all the address in the email header. The email
header is below:

Delivered-To: fandaremail@gmail.com
Received: by 10.204.121.3 with SMTP id f3cs5634bkr;
Fri, 24 Sep 2010 02:43:02 -0700 (PDT)
Received: by 10.100.154.3 with SMTP id b3mr3322700ane.
245.1285321381720;
Fri, 24 Sep 2010 02:43:01 -0700 (PDT)
Return-Path: <nginx@mydomain>
Received: from mydomain (mail.mydomain.com [xxx.xxx.xxx.xxx])
by mx.google.com with ESMTP id d19si4617117and.
113.2010.09.24.02.43.01;
Fri, 24 Sep 2010 02:43:01 -0700 (PDT)
Received-SPF: neutral (google.com: xxx.xxx.xxx.xxx is neither
permitted nor denied by best guess record for domain of
nginx@mydomain) client-ip=xxx.xxx.xxx.xxx;
Authentication-Results: mx.google.com; spf=neutral (google.com:
xxx.xxx.xxx.xxx is neither permitted nor denied by best guess record
for domain of nginx@mydomain) smtp.mail=nginx@mydomain
Received: from nginx by mydomain with local (Exim 4.63)
(envelope-from <nginx@mydomain>)
id 1Oz4o1-0000Bd-4h
for fandaremail@gmail.com; Fri, 24 Sep 2010 09:43:01 +0000
To: fandaremail@gmail.com
Subject: Account Activation
From: no-reply@mydomain.com
Reply-To: no-reply@mydomain.com
X-Mailer: CakePHP Email Component
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Message-Id: <E1Oz4o1-0000Bd-4h@mydomain>
Sender: Nginx user <nginx@mydomain>
Date: Fri, 24 Sep 2010 09:43:01 +0000

How Can I change the rest address in the email header from
nginx@mydomain to no-reply@mydomain.com? Thank You

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: