Because all of our emails need to pass PHPMailer's
validation method before they get sent (due to the way
PHPMailer is written) it makes the most sense to use
that for validation.
Change-Id: I232ab9496ce8fc295a49625c999b48215305216c
behatnotneeded: Covered by phpunit
Reviewed: https:/ /reviews. mahara. org/6876 /git.mahara. org/mahara/ mahara/ commit/ 1192c05d2a316dc b4f45cbca28b5a6 f1f6acfdac
Committed: https:/
Submitter: Aaron Wells (<email address hidden>)
Branch: master
commit 1192c05d2a316dc b4f45cbca28b5a6 f1f6acfdac
Author: Aaron Wells <email address hidden>
Date: Mon Aug 22 12:34:26 2016 +1200
Bug 1615280: More robust email validation
Because all of our emails need to pass PHPMailer's
validation method before they get sent (due to the way
PHPMailer is written) it makes the most sense to use
that for validation.
Change-Id: I232ab9496ce8fc 295a49625c999b4 8215305216c
behatnotneeded: Covered by phpunit