I had the same problem. He solves with this library to it that sends the mail by smtp
http://phpmailer.sourceforge.net/


-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nombre de Mitch
(WebCob)
Enviado el: Thursday, January 29, 2004 5:07 AM
Para: Giacomo A. Catenazzi; [EMAIL PROTECTED]
Asunto: Re: [courier-users] Interection PHP with courier


Why do you think this would work?

I've never seen any reference to this method of controlling the sender.

I use the pear/mail classes to do this - no problems.

m/

Giacomo A. Catenazzi ([EMAIL PROTECTED]) wrote*:
>
>Hello.
>
>I've some problem setting the right sender in apache/PHP:
>In my apache conf I have for example:
><VirtualHost *>
>     ServerAdmin [EMAIL PROTECTED]
>     DocumentRoot /home/xxx/www.xxx.tdl
>     ServerName www.xxx.tld
>     SetEnv MAILSHOST xxx.tdl
>     SetEnv MAILSUSER info
></VirtualHost>
>
>The environment variable is set and it is correct in PHP,
>but I don't understand why PHP mail() doesn't pass it
>correctly to courier.
>
>Someone have similar problems?
>Do you have other solution on how to pass different
>sender to different virtual domains?
>
>TIA
>ciao
>       cate
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by EclipseCon 2004
>Premiere Conference on Open Tools Development and Integration
>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>http://www.eclipsecon.org/osdn
>_______________________________________________
>courier-users mailing list
>[EMAIL PROTECTED]
>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to