View Single Post
  #2  
Old 08-17-2006, 02:59 PM
jared jared is offline
OSP Starters
 
Join Date: Mar 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jared is on a distinguished road
Default

The practice of showing only the name (TEST) in the mail list but the full From header (TEST <test@test.com>) when the message is opened is just normal e-mail client behaviour. The full header is TEST<test@test.com>, because that's what you're setting it to.

To state the obvious, you could just try taking out <test@test.com> and see what happens. I don't think this will work as you're expecting, though, because if I remember rightly PHP will add the default server address if none is supplied, I think it's the sendmail_from option in php.ini), even if you give a name in the From header.

Why would you want to do this anyway? E-mail comes from an e-mail address. Given you can actually specify any fake address you like (at the risk of annoying your users), does it really matter that it has to be a plausible one? -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - email from header
View Single Post
  #2  
Old 08-17-2006, 02:59 PM
jared jared is offline
OSP Starters
 
Join Date: Mar 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jared is on a distinguished road
Default

The practice of showing only the name (TEST) in the mail list but the full From header (TEST <test@test.com>) when the message is opened is just normal e-mail client behaviour. The full header is TEST<test@test.com>, because that's what you're setting it to.

To state the obvious, you could just try taking out <test@test.com> and see what happens. I don't think this will work as you're expecting, though, because if I remember rightly PHP will add the default server address if none is supplied, I think it's the sendmail_from option in php.ini), even if you give a name in the From header.

Why would you want to do this anyway? E-mail comes from an e-mail address. Given you can actually specify any fake address you like (at the risk of annoying your users), does it really matter that it has to be a plausible one? -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote