mail.from - nuxeo.conf

Hi,

I am trying to configure the mail.from attribute with the reply address and the senders name,to get the same behavior like when we receive a mail from Nuxeo Answers; the display name is Nuxeo Answers and the reply address is noreply@nuxeo.com.

So far i tried; mail.from=“Domain support@domain.com” mail.from=Domainsupport@domain.com mail.from=support@domain.com (Domain)

with no success.

What exactly is the syntax for this ? tx Michel

0 votes

1 answers

835 views

ANSWER



Hi,

mail.from is used by javax.mail.Session, following JavaMail Spec and RFC 822 “From” header which says:

Typical address syntax is of the form “user@host.domain” or “Personal Name user@host.domain“.

So, what you tried seems right. What result did you get when using mail.from=“Domain support@domain.com” ? Maybe it would work better without double quotes around: mail.from=Domain support@domain.com

0 votes



Hi Julien,

As soon as i put double quotes or <> , the server doesn't start.

If i simply put a space between the personal name and the email , the server starts but no notification are sent, like if it was not able to construct the email object.

We have other tools sending emails in C# and we use
Caristix < support@caristix.com >

but with the same syntax in Nuxeo the server doesn't start.

And in my case i would also need to have a Personal Name with a space in it

    Caristix Central

Michel

12/16/2011

Could you please fill a Jira issue about that?
12/16/2011