![]() ![]() $mail->From = 'Joe User') // Add a // Name is = 50 // Set word wrap to 50 characters $mail->SMTPSecure = 'tls' // Enable encryption, 'ssl' also accepted $mail->Password = 'secret' // SMTP password $mail->SMTPAuth = true // Enable SMTP authentication $mail->Host = ' ' // Specify main and backup SMTP servers ![]() Here is an example from the page above: isSMTP() // Set mailer to use SMTP The class is stable and it is used by many other projects like Drupal, SugarCRM, Yii, and Joomla! It also handles HTML based emails and attachments so you don't have to write your own implementation. It allows you to use the mail function or use an smtp server transparently. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |