Reply to Re: Can't overwrite Return-path

Your name:

Reply:


Posted by Manuel Lemos on 04/06/07 00:44

Hello,

n 04/05/2007 04:10 PM Adam R said the following:
> I want to use mail() function but I can't overwrite Retun-Path info. Most
> mail servers overwrite the 'Return-path' header sent by the PHP mail()
> function by a default email address (httpd@hostingcompany.com or
> apache@domain.org).
>
> I tried :
>
> $headers = 'From: MyName<'.$from.'>\r\n';
> $headers .= 'Return-Path: MyName<'.$from.'>\r\n';
>
> even:
>
> $headers,"-f".$from
>
> can't help.
>
> Any idea? Thanks.

This depends on the platform or the delivery method. Take a look at this
message composing and sending e-mail messages. It supports the
Return-Path header and makes sure it works with different platforms and
deleivery methods:

http://www.phpclasses.org/mimemessage


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация