Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
12977 Zobrazení

I can configure outgoing email servers (smtp) with my (admininstrator) email id and password for our company gmail account. But when another user try to send out the email, it uses the same gateway as mine. That means the receiving user see the emails of all users as coming from my email id (administrator).

How can other users send out the email with their email id in the "from" field?

Thank you

Varghese

Avatar
Zrušit
Nejlepší odpověď

In OpenERP version 7.0 always the mail gateway with the lowest sequence (highest priority) is used.

Although it is possible to specify a mail gateway for an email message (field mail_server_id in object mail.mail) this option is not used in the current version.

You can only add this functionality by writing a short module.

Avatar
Zrušit

Well I just wrote such module. github.com/bamps/smtp-per-user

Nejlepší odpověď

In my test environment I have a single outgoing email server, with no credentials. That way the outgoing email uses the "From" email address of the user who actually sends it. It's OK to do this from a security standpoint if the outgoing server is localhost (127.0.0.1), which would mean the SMTP server on the machine that OpenERP is running on. I'm using another valid approach, which is to configure the outgoing server as my domain's production server and and the OpenERP server's IP address to the mail server's list of allowed relay clients (for example, in 'mynetworks' in Postfix).

Avatar
Zrušit

i do this but no email receipt in my inbox please help me

Related Posts Odpovědi Zobrazení Aktivita
8
zář 15
8041
1
čvc 23
4789
2
kvě 15
5436
0
kvě 15
5650
3
bře 15
9127