This is a discussion on "originating email address is bad" within the PHP Forum section. This forum, and the thread "originating email address is bad are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
originating email address is bad
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi all
I have created my first ever php to get someones email address and then send them an automated responce. However, the originating email address comes out as website@linhost765.prod.mesa1.secureserver.net I want the originating email address to come out as subscriptions@website.com Is there some method of doing this? DennisK __________________ The one stop toy shop: www.toysofamerica.com |
|
|
|
|||
|
Re: originating email address is bad
I suspect that's because you are not adding the 'From: ...' part parameter in the mail(); function so the server is adding a default.
The 4th parameter is the header. AT its most basic it just needs to be a string in the form 'From: ...' It can be a much more complex header if you are sending a multipart e-mail. |
|
|||
|
Many thanks
Will do some research. DennisK __________________ The one stop toy shop: www.toysofamerica.com |
![]() |
| Tags |
| bad email, email address bad |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Protect your email address | Ryan Fait | JavaScript Forum | 3 | Jan 7th, 2007 05:15 |
| Registering an email address | DennisK | Web Page Design | 4 | Nov 25th, 2006 23:07 |
| Email Address Validation | Smokie | Classic ASP | 1 | Aug 15th, 2003 23:52 |