Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Mail's "from" getting reformatted
May 24, 2005, 2:44 pm
rate this thread
This may not be a PHP issue, but I was hoping someone might know where to
look. I have a web app that a client purchased which sends an email using
PHP's "mail" function. If it sends a message of the format:
email@example.com <John Smith>, it arrives with a from line looking like
From: firstname.lastname@example.org John.Smith@server.domain.com
Where the from name has gotten reformatted to look like an email address.
Where should I look for the cause of this? Is it sendmail.cf? PHP.ini?
Re: Mail's "from" getting reformatted
*** Kevin wrote/escribió (Tue, 24 May 2005 09:44:23 -0400):
Whatever you enclose in < > chars is treated as an e-mail address. When
mail servers find an address that is not a FQDN (fully-qualified domain
name) they consider it a local recipient and they normally autocomplete the
adress appending server's main domain name.
As Ewoud points you probably mean this:
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group