Apr 16, 2002 #1 Sleidia Technical User May 4, 2001 1,284 FR Hello, Does anyone know how to make the "from" option of the mail() function display a name instead of an email address? Thanks a lot to the one who will respond.
Hello, Does anyone know how to make the "from" option of the mail() function display a name instead of an email address? Thanks a lot to the one who will respond.
Apr 16, 2002 #2 AnakinPt Programmer Mar 29, 2001 583 PT put "FROM: Webmaster <webmaster@somedomain.com>" in the headers (4th param) Anikin Hugo Alexandre Dias Web-Programmer anikin_jedi@hotmail.com Upvote 0 Downvote
put "FROM: Webmaster <webmaster@somedomain.com>" in the headers (4th param) Anikin Hugo Alexandre Dias Web-Programmer anikin_jedi@hotmail.com
Apr 17, 2002 Thread starter #3 Sleidia Technical User May 4, 2001 1,284 FR Hello Anikin, As you said I did this: mail($email , "$sub", $content , "from: toto <toto@toto.com>" But the email address is displayed again in outlook. Any idea? Upvote 0 Downvote
Hello Anikin, As you said I did this: mail($email , "$sub", $content , "from: toto <toto@toto.com>" But the email address is displayed again in outlook. Any idea?
Apr 17, 2002 #4 AnakinPt Programmer Mar 29, 2001 583 PT well, i just did this: mail("hugo@mni.pt","teste","BLA BLA","FROM: Hugo Dias <hugo@mni.pt>" and worked just fine. Anikin Hugo Alexandre Dias Web-Programmer anikin_jedi@hotmail.com Upvote 0 Downvote
well, i just did this: mail("hugo@mni.pt","teste","BLA BLA","FROM: Hugo Dias <hugo@mni.pt>" and worked just fine. Anikin Hugo Alexandre Dias Web-Programmer anikin_jedi@hotmail.com