cancel
Showing results for 
Search instead for 
Did you mean: 

Email problem

fwachs
Champ in-the-making
Champ in-the-making
Hi all,
I'm using activiti 5.11 and when I try to send an email from something like this:
John Smith <john.smith@example.org> it sends it perfectly, without problems.

But when I receive the email instead of reading "John Smith" only, it displays the entire string "John Smith <john.smith@example.org>".

Is this a bug?
6 REPLIES 6

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Isn't it dependent on the receiving mail client?

fwachs
Champ in-the-making
Champ in-the-making
Nope. For example, on my end I did this:

MimeMessageHelper message = new MimeMessageHelper(mimeMessage, "UTF-8");
                message.setTo(user.getEmail());
                message.setFrom("CompanyName<no-reply@companyname.com>");

And when you receive an email you will only see CompanyName as the name of who sent the email.
When I send an email through Activiti with this format it looks like its literal, "CompanyName<no-reply@companyname.com>".

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Then the easiest thing to do is to look at the source of the activiti mail service and see if can be explained by that. If so, create a copy, adapt it and use your own mail service. It's fairly simple.

fwachs
Champ in-the-making
Champ in-the-making
Yeap, I can't seem to find it though! I'll keep looking I guess Smiley Happy

fwachs
Champ in-the-making
Champ in-the-making
Cool, thanks!