cancel
Showing results for 
Search instead for 
Did you mean: 

email setting

bertelu
Champ in-the-making
Champ in-the-making
hi folks, couple of problem with outbound email setting.
i've modified the repository.properties as declared in other wiki/posts ans looks like this:
# Email configuration
mail.host=smtp.G.ho.st
mail.port=25
[email protected]
mail.password=password
# Set this value to UTF-8 or similar for encoding of email messages as required
mail.encoding=UTF-8
# Set this value to 7bit or similar for Asian encoding of email headers as required
mail.header=
[email protected]
mail.smtp.auth=true
mail.smtp.timeout=30000

now, i've setted a rule to send a notification email to a user every time a document are uploaded.
sometime the mail goes, sometime not.
the behavior unespected is that the sender use by alfresco, is not the one specified in mail.from.default, but the one specified in the user profile.
i.e.
created a test user that have email as "[email protected]"
created a second test user with email as "[email protected]"
well. if the test2 user is logging and upload a new document, an email is issued from:[email protected]" to user specified.
if test user  is logging and upload a new document, an email is issued from:[email protected]" to user specified.
what i'm expecting is that the email is coming from [email protected], and not from the single user, even because maybe that user is not allowed by the SMTP server to send email.

do i forgo sometinh in the config? should i config other files?

and second problem. in the notification email, the link is always reporting the link as "http:\\localhost:8080….." is there any place to config the hostname instead localhost?


thanks in advance.
1 REPLY 1

sselvan
Champ in-the-making
Champ in-the-making
Recently I remember there was a thread going on related to your "second" problem and solutions are discussed in detail and available.

Here you go -
http://forums.alfresco.com/en/viewtopic.php?f=9&t=24069

Hope this is helpful!