Ticket #812 (closed malfunction: fixed)
welcome mail for domain customers: "from" not rfc conform
|Reported by:||joximu||Owned by:|
|Priority:||major||Milestone:||ispCP ω 1.0 - RC3|
|Component:||Backend (Engine)||Version:||ispCP ω nightly build|
if the sender/reseller (from) has set the "firm" field, then the from header line is written:
From: Jack Thursby [MyCompany] <email@example.com>
the [ ] are special characters and therefore in this case the name (incl. company) should be in quotes:
From: "Jack Thursby [MyCompany]" <firstname.lastname@example.org>
Otherwise some mails won't reach the address because of filters. See http://www.isp-control.net/forum/problem-mit-freenetde-adressen-t-1606.html (german).
This should be also the case if there are special chars in the name of the reseller.
I think it should be corrected either in emailtpl-functions but maybe its better to create a general "mail" function which checks/corrects all headers and then sends the mail...