Click to See Complete Forum and Search --> : Email.


bradmasterx
03-22-2008, 11:03 AM
Im currently making a site on my server requiring email sending, how would i set this up and what email host does SMTP for free.

bradmasterx
03-23-2008, 08:32 AM
Does no1 no how to do this?

NogDog
03-23-2008, 02:58 PM
I would use PHPMailer with is own SMTP class to do it. As to free SMTP servers, I do not know of any, and I would be pretty sure that any such services' domains are probably already black-listed by most major anti-spam programs.

bradmasterx
03-23-2008, 04:06 PM
ok so how would i connect the a mail server if i had a domain.

NogDog
03-23-2008, 10:17 PM
It's pretty much the same as setting up your mail program on your PC: you need to specify the outgoing mail server, the user name, and the password (and possibly the port number if not the usual "25"). For instance, if using PHPMailer, you would set up the connection something like:

require_once "class.phpmailer.php";
$mail = new phpmailer();
$mail->Mailer = 'smtp';
$mail->Host = 'mail.example.com';
$mail->From = 'foobar@example.com';
$mail->UserName = 'foobar';
$mail->Password = 'abc123';
$mail->FromName = 'John Doe';

bradmasterx
03-24-2008, 08:46 AM
Thanks does any one know any cheap or free STMP mail hosts?