From Email Address wrong -> admin@127.0.0.1

the mail() function

Moderators: macek, egami, gesf

User avatar
bigjoe11a
New php-forum User
New php-forum User
Posts: 128
Joined: Wed Aug 31, 2011 3:55 am
Location: USA
Contact:

From Email Address wrong -> admin@127.0.0.1

Postby bigjoe11a » Wed Aug 31, 2011 4:02 am

When I send a email out. The from email address is Admin@127.0.0.1. Does any one know how to change this so that the Email Address I use in the $from, is used.

Thanks
Joe

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: From Email Address wrong -> admin@127.0.0.1

Postby egami » Wed Aug 31, 2011 4:46 am

Required Reading: www.php.net/mail

This, is a HEADERS option that must be set.

User avatar
bigjoe11a
New php-forum User
New php-forum User
Posts: 128
Joined: Wed Aug 31, 2011 3:55 am
Location: USA
Contact:

Re: From Email Address wrong -> admin@127.0.0.1

Postby bigjoe11a » Wed Aug 31, 2011 10:17 am

Out of all the PHP scripts I have done. I wonder why I never had to do this before. ? any way thanks

Joe


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 1 guest