How I can change the "from" field value when sending a message because it always has the same email address?
Hi, how can I change the "from" field value in sending outgoing messages?
It always have the same address even if it send by different users. And I noticed the value of "uid" in mail_mail.py is always "1" so it always get the same email outgoing address.
The email_from of send emails is the email address of the message author. Having multiple users sending emails with the same email_from seems odd if they effectively have different email addresses.
Note that prior to revision 8628 of the addons, there was a bug leading to the administrator email address being chosen for the email_from of some notification emails (emails going through the mailgateway). This could explain the results you obtained. But this has been fixed.
I am wondering the same thing. I have a user who has a different email address and domain that they need to send from. I.e. their usual address is firstname.lastname@example.org that they send and receive from, however they sell a different product also and a mail must be sent from email@example.com. How do i do this? I have changed the from and reply to fields in the template but it has no effect on the mail delivered
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/7/13, 8:45 PM|
|Seen: 3259 times|
|Last updated: 3/16/15, 8:10 AM|