Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Can't send mails #61

Open
baszoetekouw opened this issue Nov 17, 2015 · 3 comments
Open

Can't send mails #61

baszoetekouw opened this issue Nov 17, 2015 · 3 comments
Assignees
Labels

Comments

@baszoetekouw
Copy link
Member

Sending of mail fails in the latest release. After creating an invite, the logs say:

2015-11-17 10:04:06] request.INFO: Matched route "admin.subscription.new" (parameters: "_controller": "AppBundle\Controller\Admin\SubscriptionController::newAction", "_route": "admin.subscription.new") [] []
[2015-11-17 10:04:06] security.INFO: Populated SecurityContext with an anonymous Token [] []
[2015-11-17 10:04:06] security.DEBUG: Write SecurityContext in the session [] []
[2015-11-17 10:04:06] app.ERROR: Exception occurred while flushing email queue: Expected response code 250 but got code "501", with message "501 <<>>: missing or malformed local part " [] []

tcpdump shows that it indeed sends:

MAIL FROM:<<>>

to the MTA.

@baszoetekouw
Copy link
Member Author

Particularly note the <<>>. This should be a single <>.

@relaxnow
Copy link
Contributor

@baszoetekouw I can't seem to reproduce this locally, does your installation have a app/config/parameters.yml with mail_from set?

@baszoetekouw
Copy link
Member Author

This is a bug in Swiftmailer, see swiftmailer/swiftmailer#705.

Workaround in commit 84f3396.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants