Closed (fixed)
Project:
Swift Mailer (abandoned)
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2017 at 23:54 UTC
Updated:
2 Dec 2022 at 10:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
heddnLet's see what happens?
Comment #4
heddnPostponed on #2755401: Upgrade EmailValidator to 2.x.
Comment #5
gg4 commented#2755401: Upgrade EmailValidator to 2.x is RTBC, might be a good time to pick this back up.
Comment #6
gg4 commentedSwift Mailer 6 will require
"php": ">=7.0.0",.Comment #8
gg4 commentedComment #9
sam152 commentedI need this patch pretty badly. We have a site that is filling up queues with unsendable emails because cores email validation library doesn't match the regex swiftmailer uses to validate emails in version 5. Version 6 fixes this by using the same email validator it suggests people use in the documentation (https://github.com/swiftmailer/swiftmailer/commit/e7cf4bd807b44be83d8922...).
Comment #10
sam152 commentedWith the new php version requirement, switching the version of phpunit being used in the test cases.
Comment #12
berdirLooks like this gets confused about mailsystem? It's only in the info.yml but not in composer.json, should be in there as well?
Comment #13
gg4 commentedComment #15
gg4 commentedComment #17
gg4 commentedComment #19
gg4 commentedComment #20
gg4 commentedComment #22
gg4 commentedThe
Swift_MailTransportclass and::newInstance()methods have been removed in SwiftMailer version 6.0.x.Swift_MailTransporthad been used previously in this module for thenative(PHP) transport method. #20 removes thenativetransport option, setsSendmailas the new default, and adds an update hook to set the transport config toSendmail, if previously set tonative. Not sure if this is ideal, but test at least pass at this point -- #20 is rather untested otherwise.Comment #23
webflo commentedAwesome, thanks for working on this.
Sendmail should be lowercase, because SWIFTMAILER_TRANSPORT_SENDMAIL contains a lowercase value.
lowecase
Comment #24
gg4 commentedComment #26
gg4 commentedComment #27
gg4 commentedComment #28
webflo commentedCommit ef3092e
Comment #30
golddragon007 commentedThis successfully broke the mail sending for us on production.
Comment #31
ivnishSame, but we get this "new feature" on testing