If you go to the settings area of a gmail account (or google email account
for your own domain) you can set up the ability to send mail as a different
address, i.e. the ord...@abc.com account can be allowed to send mail as
cont...@abc.com.  I'm not sure if that's called an alias, definitely may be.

Good luck!

On Fri, May 15, 2015 at 1:40 PM, vikraw <vik...@gmail.com> wrote:

> Josh, Thanks a lot. I will look into it and update if i can get it to
> work. So what you are suggesting is like creating an alias.
>
> On Friday, May 15, 2015 at 9:20:33 PM UTC+5:30, Josh Cartmell wrote:
>>
>> Hi vikraw, I don't think there is an easy way to specify multiple email
>> users/backends like you have.  Instead, I would recommend making it so that
>> con...@abc.com can send mail as ord...@abc.com (or vice versa).  I know
>> that specifically with Google email this is fairly easy to set up.  Then
>> mail can be sent as either address through the same smtp connection.
>>
>> On Fri, May 15, 2015 at 8:39 AM, vikraw <vik...@gmail.com> wrote:
>>
>>> How can I get Mezzanine/Cartridge to send emails from different email
>>> addresses for various purposes?
>>>
>>>
>>>    - When the user submits the contact-form email should go from "
>>>    con...@abc.com"
>>>    - When the user makes a purchase, order receipt should go from "
>>>    ord...@abc.com"
>>>
>>>
>>> In "Settings->Shop" section there is 'From Email' where I put the "
>>> ord...@abc.com" address. BUT there is no field to specify the password
>>> and other email settings
>>> In "Contact-Us" page there is 'From email' where I put the "
>>> con...@abc.com" address. Here also there is no field to specify the
>>> password and other email settings
>>>
>>> However, in *settings.py* file. I use the following, as business
>>> accounts with gmail. But the email always arrives from the email setting
>>> later in order in the file
>>>
>>> EMAIL_USE_TLS = True
>>> EMAIL_HOST = 'smtp.gmail.com'
>>> EMAIL_PORT = 587
>>> EMAIL_HOST_USER = 'con...@abc.com'
>>> EMAIL_HOST_PASSWORD = 'password'
>>>
>>> EMAIL_USE_TLS = True
>>> EMAIL_HOST = 'smtp.gmail.com'
>>> EMAIL_PORT = 587
>>> EMAIL_HOST_USER = 'ord...@abc.com'
>>> EMAIL_HOST_PASSWORD = 'password'
>>>
>>> Please help. Need to make it look business purpose
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Mezzanine Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to mezzanine-use...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to