Abstract Package: IO\Mail Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL Version: PHPBoost 5.2 - last update: 2014 12 22 Since: PHPBoost 3.0 - 2010 03 08 Contributor: Julien BRISWALTER Contributor: mipel Located at: io/mail/AbstractPHPMailerMailService.class.php
AbstractPHPMailerMailService implements MailService
Direct known subclasses
DefaultMailService, SMTPMailService
Methods summary
# send( Mail $mail )

Sends the mail. Throws an exception if the mail cannot be sent.

public boolean
# try_to_send( Mail $mail )

Tries to send the mail but doesn't throw any error whether the mail cannot be sent, it only returns false.

public boolean
# send_from_properties( string $mail_to, string $mail_subject, string $mail_content, string $mail_from = '', string $sender_name = Mail::SENDER_ADMIN )
abstract protected
# set_send_settings( PHPMailer\PHPMailer\PHPMailer $mailer )
public boolean
# is_mail_valid( string $mail_address )

Check whether the mail address is valid, it respects the mail RFC

public string
# get_mail_checking_regex( )

Return the RFC mail regex.

public string
# get_mail_checking_raw_regex( )

Return the RFC mail regex without delimiters, it's commonly used for compatibility with javascript regex.