View Single Post
Old 02-20-2008, 07:03 PM   #2 (permalink)
DeMo
The Contributor
 
DeMo's Avatar
 
Join Date: Jan 2008
Location: Brazil
Posts: 77
Thanks: 14
DeMo is on a distinguished road
Default

PHP Code:
$mail->Host "mail.iwatch-this.info"// SMTP server 
Is this also part of the example?
If it is, I guess it's not a valid SMTP server, it's there just to show how you use the class. You have to change that line and put your own (your host's) SMTP address there.

By the way, you don't need a separate class for sending mail, you can use the mail() function to do this. It's already setup and you don't need to waste time searching for SMTP server addresses and stuff like that.
Send a message via ICQ to DeMo Send a message via MSN to DeMo Send a message via Skype™ to DeMo
DeMo is offline  
Reply With Quote