becomes
Your Company <noreply@yourdomain.com> in the From header.
However for me the sendmail option only works for the Admin Notification. So when a user registers he gets an email with only the EmailSender in the From field, while only the Admin gets the correct Header.
Also on InformationCollection Emails the From field is only the Email adress specified in the EmailSender setting.
@Anyone
Why is this? Or is there an entirely different solution to this Problem?
Sorry, i had no look at the forum on weekend :) Hm.. Sendmailoptions sounds interessting - i'm using postfix, so i have to have a look for the correct options.
Nevertheless, it doesn't look really comfortable. There are thousands of parameters to set in the ini and override files an no parameter for the "from" field? Sounds a little bit senseless!?
Maybe there is an option but we don't know it :) And it looks like noone else knows it ...
I tried many different solutions to define the sender <from> name with postfix - no chance. Sendmail Options should also work on postfix but they do not.
:(((
I nearly can't believe, that nobody else has this problem!?
As MTA I use Exim, using Exim's rewrite rules engine I can change any field (e.g. from) in outgoing emails.
Sample:
<source pattern> <replacement> <flags>
admin@website.com "Website Team <no_reply@webiste.com>" w
Flag "w" guarantee that the whole address item will be replaced (not only working part) so there is no need to add in the pattern www-data (you can of course use advanced pattern using regular expression ...)
If you will use html email templates problem with www-data should be also resolved.
Regards,
Michal
You must be logged in to post messages in this topic!