I want to send user mail from my server.

example)
Server sender : [email protected]
from : [email protected]
to : [email protected]

So, I read "Example 33.2. Passing additional parameters to the
Zend_Mail_Transport_Sendmail transport"
http://zendframework.com/manual/en/zend.mail.html 

and I add to this code. 

----

$tr = new Zend_Mail_Transport_Sendmail('[email protected]');
Zend_Mail::setDefaultTransport($tr);

--

After I saw mail header. But, It isn't diffrent than before.


So, I change php sendmail() function with additional_parameters.
It is OK!!

--MAIL HEADER--
Received-SPF: pass (google.com: domain of [email protected] designates
121.124.124.202 Delivered-To: [email protected]
Received: by 10.216.51.132 with SMTP id b4cs27335wec;
        Thu, 16 Jul 2009 11:46:07 -0700 (PDT)
Received: by 10.140.164.6 with SMTP id m6mr62664rve.120.1247769965666;
        Thu, 16 Jul 2009 11:46:05 -0700 (PDT)
Return-Path: <[email protected]>
Received: from jack.betastudios.net ([121.124.124.202])
        by mx.google.com with ESMTP id
34si678228pzk.143.2009.07.16.11.46.04;
        Thu, 16 Jul 2009 11:46:05 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates
121.124.124.202 as permitted sender) client-ip=121.124.124.202;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
[email protected] designates 121.124.124.202 as permitted sender)
[email protected]
Received: by jack.betastudios.net (Postfix, from userid 33)
 id 4B8965A006A; Fri, 17 Jul 2009 03:46:06 +0900 (KST)
To: =?utf-8?B?6rCV7KeA7Zi4?= <[email protected]>
--


Why happen this problem ZF? I don't know.. %-|


This server os is ubuntu 9.04
-- 
View this message in context: 
http://www.nabble.com/Zend-mail-Return-Path-of-the-mail%28%29--problem-tp24528685p24528685.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to