Sending mail via PHP

Associate
Joined
26 Jun 2003
Posts
1,140
Location
North West
Ive created a website where when people register an activation email is sent to thier email.

Is there anyway to send en email without entering an email address in the php.ini file and then using the mail() function?

Thx
 
There are a number of classes on the internet that allow you to connect to a SMTP server of your choice and send an email thro that. Many web hosts don't like u using mail() and disable it.
 
chesterstu said:
There are a number of classes on the internet that allow you to connect to a SMTP server of your choice and send an email thro that. Many web hosts don't like u using mail() and disable it.

He's right. PHPMailer is the class I've used previously.
 
shine said:
He's right. PHPMailer is the class I've used previously.

Thumbs up for PHPMailer from me. Has some great features like attaching files to the emails, sending HTML and plain text emails, lots of connection options etc. A great little class.

Matt
 
Back
Top Bottom