cancel
Showing results for 
Search instead for 
Did you mean: 

Send html email

agey
Champ in-the-making
Champ in-the-making
Hi all,

I found in this topic how send html emails from Alfresco:

http://forums.alfresco.com/fr/viewtopic.php?f=11&t=940

I try it in Alfresco on Windows and it works fine. But now, I try it in Alfresco on Linux and the email is sent without subject, from and to paremeters and the body of the email is text/plain and shows html tags. What is the problem? Why doesn´t it work in Linux?

Thanks a lot in advance
3 REPLIES 3

agey
Champ in-the-making
Champ in-the-making
Hi again,

I compared the two emails sent by Alfresco, one on Windows and one on Linux. The difference between them is the header:

From: soporte@mydomain.es
To: agey@mydomain.es
Subject: Invoice
MIME-Version: 1.0
Content-Type: text/html;charset=UTF-8
Content-Transfer-Encoding: quoted-printable

This header is included in the email sent by Alfresco on Windows but isn´t included in another email.

My configuration in custom-repository.properties is this:


# Email configuration
mail.host=smtp.mydomain.es
mail.port=25
mail.username=zdw130c
mail.password=********
mail.protocol=smtp
# Set this value to UTF-8 or similar for encoding of email messages as required
mail.encoding=iso-8859-1
# Set this value to 7bit or similar for Asian encoding of email headers as required
mail.header=quoted-printable
mail.from.default=soporte@mydomain.es
mail.smtp.starttls.enable=true
mail.smtp.auth=true
mail.smtp.timeout=30000
mail.smtp.debug=true


Can anyone point me how I can fix it?

agey
Champ in-the-making
Champ in-the-making
Does anyone have a suggestion? Please help, I don´t find any way to solve this.

agey
Champ in-the-making
Champ in-the-making
It's solved. I deleted the file "geronimo-javamail_1.4_spec-1.3.jar" from directory <Alfresco>/tomcat/webapp/alfresco/WEB-INF/lib as suggested by the following post:

https://forums.alfresco.com/en/viewtopic.php?f=12&t=14427&p=48151&hilit=geronimo#p48151

And now it works fine.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.