Problem:
I changed in php.ini mailserver adress from 127.0.0.1 to the adress of my mail server.
But>
my mail server can't create account without a password
and php requires some mail adress ex: mymailbox@mail.mydomain.com to send from.
How do I solve this?
If I need to insert the password inside the php.ini, where and how to do it, or if you have another way of doing this, please tell me.
Thanks Ahead!
mail() and windows and mail server
Moderator: General Moderators
- Buddha443556
- Forum Regular
- Posts: 873
- Joined: Fri Mar 19, 2004 1:51 pm
There are some SMTP class that might help at http://www.phpclasses.org/ . I use (modified) one for testing on Windows using a domain based email account. Think I modified this one http://www.phpclasses.org/browse/file/1168.html seems to be the most simple. In your case you'll also probably need to add a domain to your Windows' Host file too.
Something like...
127.0.0.1 mail.devnetwork.net
Some domain you don't actually use. Don't want to cause yourself any email problems.
Something like...
127.0.0.1 mail.devnetwork.net
Some domain you don't actually use. Don't want to cause yourself any email problems.