Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail() function and possible SMTP/POP3 roadblocks?

Status
Not open for further replies.

Arion279

Programmer
Dec 18, 2001
2
US
Hello there,

I had a question about mail() function and it's relation to what i'm allowed to do.

I am making a PHP site (which I am currently developing as localhost), and can't even send out a simple mail("arion279@yahoo.com", "the subject", "the message"); and get it to work. The current page that the user fills out and submits is supposed to activate this mail function, but the site always freezes and stays frozen when I do this.

My outgoing SMTP server is:
outgoing.verizon.net

and my incoming POP3 is:
mail.csupomona.edu

The first, of course, is a large business which may or may not allow me to use them for this purpose, and second is a school, which also may have some restriction I am not aware of. I did set my PHP.ini file correctly to the correct SMTP, and set my default email to the one above. Do you have any idea why the mail will not send out? Everyone's always saying how easy this function is, but it seems that external elements are keeping me from enjoying the easiness!

Thanks for your time,

Arion279
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top