Page 2 of 2

Posted: Thu Nov 17, 2005 12:56 pm
by ljCharlie
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?

Posted: Thu Nov 17, 2005 1:00 pm
by twigletmac
If this is your local machine then you can use your ISP's SMTP server most likely. This will be the same as in your e-mail setup, normally along the lines of smtp.yourisp.com.

Where you've placed the information is correct but you may need to check on that SMTP server name.

Mac

Posted: Thu Nov 17, 2005 1:03 pm
by Burrito
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).

Posted: Thu Nov 17, 2005 1:30 pm
by ljCharlie
Many thanks your help. I'll test again with smpt.charterter.net and see if it works. For the these questions:
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?
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?

Posted: Thu Nov 17, 2005 1:46 pm
by ljCharlie
Okay, using the smtp.charter.net works! I don't have to setup my own smtp server...would be nice if I know how to setup my own. Not sure if it is leagal to setup my own smtp too.

In anycase, the email works! Thanks to all of you.