cancel
Showing results for 
Search instead for 
Did you mean: 

How to send email through alfresco

en64026
Champ in-the-making
Champ in-the-making
Hi friends,

While new user sign up has done, the user details have been stored to the database. After successful completion of the registration the mail to be send  automatically with the url to the Email-id which is provided by the user while registration.

Can anyone help me out in this.

Thanks in advance ,

Regards,
Els N.
19 REPLIES 19

en64026
Champ in-the-making
Champ in-the-making
Hi

Thanks for the instance reply.

I have set all the properties as you said in the repository.properties file.

mail.host=mail.alfresco.com
mail.port=25
mail.username=alfresco
mail.password=123456
# 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


Let me know how to proceed with that.

Thanks & Regards,
Els N.

yvinodh
Champ in-the-making
Champ in-the-making
Hi friends,

I have the functionality to send an email based on the user login. Is there any services necessary to send email through alfresco like SMTP.

Kindly reply to this.

Thanks,
yvinodh.

en64026
Champ in-the-making
Champ in-the-making
Hi belmekki,

I have configured the mail settings as you told in the D:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco.
With this how can i proceed.

mail.host=mail.alfresco.com
mail.port=25
mail.username=alfresco
mail.password=123456

What exactly i want is, i want to forward a job to my friend. In that mail a URL of the particular job  should be the body.

How to use alfresco to get these works done.

Kindly clarify.

Thank you.

ivo_costa
Champ in-the-making
Champ in-the-making
Ok, if I understood correctly, I think I've done something like that

if this is the expected behavior:
1st - create user
2nd - system sends email with login details

for this, I proceeded this way:
you need to create a custom behavior that is triggered at a new User Node creation
The main problem I faced is that it is impossible to get the defined password for the user from inside the behavior, but you can change the password from the behavior and send that generated new password


Regards
Ivo Costa

jtucker
Champ in-the-making
Champ in-the-making
I set the info for my mail server and I am still not receiving any information even restart and still not getting anything.  Any help would be great thanks.

ttortosa
Champ in-the-making
Champ in-the-making
Hello,

I've set  up Alfresco to send mails. The mails are correctly sent but in the links included on mail messages to alfresco files show "yourserver.com:8080", and obviously the links don't work because this is not our real name server. Where I can change this server name?

janvg
Champ in-the-making
Champ in-the-making
go to the data dictionary and then open the email templates folder

modify the file :  notify_user_email.ftl

you can also create new files here and select them when creating the notify rule

amtam
Champ in-the-making
Champ in-the-making
I have modified invite_user_mail.ftl, changing "yourserver" to my vaild host name. I then restarted Alfresco. However, the changes are not effective. The email template still shows "yourserver". How do I make the changes effective. Essentially, the corresponding "bin" file under alf_data is not updated after the restart.

ofrxnz
Champ in-the-making
Champ in-the-making
If you modify the built in workflows in the deployed app, you need to change a line in another file to tell it to reload the workflow

I don't know where it is in Share but in alfresco the file is called

bootstrap-context.xml

under the bean "workflowBootstrap"

each workflow has an entry like this

         <props>
                    <prop key="engineId">jbpm</prop>
                    <prop key="location">alfresco/workflow/review_processdefinition.xml</prop>
                    <prop key="mimetype">text/xml</prop>
                    <prop key="redeploy">false</prop>
                </props>


change the redeploy line from false to true…restart and it should load the updated version