So I don't have to turn on my smtp service on my serve? In this case, in the php.ini file setting I should have something like this, correct?
SMTP = charter.net
Is the above correct?
PHP mail not working
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
you will also need to know if your ISP's smtp server requires authentication. The simple mail() function in php does not account for smtp authentication.
If you determine that it does, let me know as I wrote a mail function a while back that will allow you to send mail via smtp (with authentication).
If you determine that it does, let me know as I wrote a mail function a while back that will allow you to send mail via smtp (with authentication).
Many thanks your help. I'll test again with smpt.charterter.net and see if it works. For the these questions:
First, I don't have or have not setup a smtp server yet. This is a server and not my personal machine. What's the most efficient way, going through my ISP or setting my own smtp server? Anothe question, can I even setup my own smtp server by turning the services in my server?can you send mail via another means through your smtp server? Do you even have an smtp server set up on the same machine that php is installed?