This patch changes the email validator object from the actual class EmailValidator to the class interface, making it more portable.

It includes a few other code quality improvements as well, notably not double-calling get('smtp_from'), and some additional line breaks.

CommentFileSizeAuthor
#2 3114689-emailvalidatorinterface.patch6.05 KBrivimey

Comments

rivimey created an issue. See original summary.

rivimey’s picture

Status: Active » Needs review
Parent issue: » #3081980: Plan for full 8.x-1.0 release of SMTP
StatusFileSize
new6.05 KB
bceyssens’s picture

Status: Needs review » Reviewed & tested by the community

Patch works as described.

  • japerry committed e0b01c0 on 8.x-1.x authored by rivimey
    Issue #3114689 by rivimey: SMTPMailSystem: use EmailValidatorInterface
    
japerry’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.