mail ($email, "Your account information at ", $body, "FROM:
support@l.com");
This code says the mail is from nobody@mydomain.com yet i tell it what email it is from.
Any ideas?
Thanks
Anthony
Wont send right
Moderator: General Moderators
- launchcode
- Forum Contributor
- Posts: 401
- Joined: Tue May 11, 2004 7:32 pm
- Location: UK
- Contact:
FROM: should be lower-case, like:
"From: whoever@wherever.com" and it does make a difference. Also check a phpinfo() dump to see if you can actually send mail or not.
Cheers,
Rich
"From: whoever@wherever.com" and it does make a difference. Also check a phpinfo() dump to see if you can actually send mail or not.
Cheers,
Rich
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
Re: Wont send right
Change the sender to support@myTopLevelDomain.com - a one letter Top Level Domain is invalid and, if I remember correctly, PHP checks that since a couple of releases.pinehead18 wrote:mail ($email, "Your account information at ", $body, "FROM:
support@l.com");
This code says the mail is from nobody@mydomain.com yet i tell it what email it is from.
Any ideas?
Thanks
Anthony
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
Well the problem with that is, it was support@mywebsite.com however, i changed it to one letter cuase i didn't want to display it.
Any other suggestions?
Any other suggestions?
- launchcode
- Forum Contributor
- Posts: 401
- Joined: Tue May 11, 2004 7:32 pm
- Location: UK
- Contact: