cancel
Showing results for 
Search instead for 
Did you mean: 

Email Settings

robain
Champ in-the-making
Champ in-the-making
Hi
I just tried to setup the smtp server configuration but for some reason it does not seem to work.
i changed in properties file

mail.host=host
mail.port=25
mail.username=username
mail.password=password

tried to test this by inviting guest user to use a content. but no emails. no errors.

any ideas?

thanks
4 REPLIES 4

alexey
Champ in-the-making
Champ in-the-making
Hi, Robain.
1. Does users have an e-mail in "users details"?
2. Have you seen a mail server log after the invitation?

robain
Champ in-the-making
Champ in-the-making
It started working once i used a different user (not guest) to test the email. havent checked with guest again after it started working though. so not sure if that was the cause. Maybe i was doing something really stupid. Thanks.

vilaskokate
Champ in-the-making
Champ in-the-making
hello,
        1. Just add your SMTP servers address into the repository.properties file. This file is situated at
           <install dir>:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco folder
            no need to add the username & password here  it works fine without username & password

           i am putting  my email configuration code here
        
 # Email configuration
mail.host=202.137.226.11     this is your SMTP servers address
mail.port=25
mail.username=anonymos
mail.password=anonymos
# 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=TestMail
mail.from.default=alfresco@alfresco.org
            

  2. Make sure that  fire wall is turned off it may cause some error like
        Failed message 1:
                 javax.mail.SendFailedException: Invalid Addresses;
                  nested exception is:
             class com.sun.mail.smtp.SMTPAddressFailedException: 550 Requested action not taken: mailbox unavailable for the user sending the mail

   
So to resolve this
   go to windows Start –> Run  and type  Firewall.cpl
    it will open the windows firewall interface & turn off the firewall
and check the email configuration
              best luck

cheers

vilaskokate
Champ in-the-making
Champ in-the-making
hi all,
         when 2nd time i m trying to configure the email it showing the same problem again. Is there any expert  who knows the exact reson for this.
I am using alfresco 3.0 stable version

Thanks &  Regards
vilas kokate