You are here: Re: email sended, but not received « All PHP « IT news, forums, messages
Re: email sended, but not received

Posted by Marco on 02/01/07 10:57

> Are you inserting a existent and valid email address, on From header?
>
Yes, I insert in my full test something as following:

$HEADER="From: Marco<myuser@tiscali.it>\n";//I insert here a false
email for avoid spam, but in my test it was the real one.

Now, this is ignored by php, because in headers of the email that I
received (gmail, hotmail) in Italian "Da" [=From] I see
myuser@tiscali.it, but in Return-Path there is apache@localhost.localdomain.

I tried to add something as $HEADER.="Return-Path:
Marco<myuser@tiscali.it>\n";, but it seems be ignored.

Note that if I send email with java program instead of php, in the
Return-Path I see myuser@tiscali.it, and I always receive all sended emails.

I have a Fedora 6 (Linux) with Apache that use sendmail program in mail
function, and believe that the problem is as I can set sendmail program
of Linux for insert a proper Return-Path.

 

Navigation:

[Reply to this 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

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