Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mail =& JFactory::getMailer();
- $email_sent = $mail->sendMail(
- $from_email,
- $from_name,
- $to_email,
- $subject,
- $email_body,
- $sendas,
- $cc_emails,
- $bcc_emails,
- $email_attachments,
- $reply_to_email,
- $reply_to_name );
- if($email_sent) {
- echo "Mail sent.";
- } else {
- echo "Mail NOT sent.";
- }
- if($send!==true)
- {
- $error=$send->__toString();
- }
Add Comment
Please, Sign In to add comment