Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $config = array(
- 'auth' => 'login',
- 'username' => 'demetriscompany',
- 'password' => 'tjqobyrwdgqtbsoq');
- $tr = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $config);
- $mail = new Zend_Mail();
- $mail->setBodyText('This is the text of the mail.');
- $mail->setFrom('demetriscompany@gmail.com', 'Server');
- $mail->addTo('l_blade@ukr.net', 'demetriscompany@gmail.com');
- $mail->setSubject('бла-бла-бла');
- $mail->send($tr);
Add Comment
Please, Sign In to add comment