02-20-2008, 07:03 PM
|
#2 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Location: Brazil
Posts: 77
Thanks: 14
|
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.
|
|
|