Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Groovyrunner send custom mail post function. How to set sender's name?

Tsol
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2012

Hi everybody,

i'm using groovyrunner to send a custom email in a workflow transition. Post function works fine but i would like to set sender's name. At the moment as sender's name appears the first part of the email.

e.g

Sender's email is:

firstname.lastname@example.com

By default as sender's name appears:

firstname.lastname

How could i set the name of the sender in order to appear the name that i want?

Thanx in advance,

Kostas

2 answers

1 accepted

0 votes
Answer accepted
Tsol
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2012

hi,

after some experiments i've found it. In the field from email address syntax must be something like:

Another User <anotheruser@example.com>

I'm attaching the screenshot:

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2012

Great. You can mark your answer as correct, and vote my comment up for putting you on the right track ;-)

Tsol
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2012

Thanx for the help. You've done great job with groovyrunner

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2012

Thank you, and you're welcome.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2012

Hrm... you can set the From address to be whatever you like, in 2.0.0 of the plugin. Is that what you mean?

Or do you want it to be programmatically driven? Couple of screenshots would help us understand what you need here...

Tsol
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2012

Hi Jamie,

I'm posting two screenshots.

Here are the settings:

And here is what i see, and what i would like to see:

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2012

Unfortunately I just see broken images. If you add a new answer, you should be able to attach images...

Tsol
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2012

hi again,

settings are here:

and what i see is here:

thanks,

kostas

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2012

OK... i'm not sure. Try putting the display name in angled brackets after the address. You might need to experiment a bit....

Like Tatiana likes this

Suggest an answer

Log in or Sign up to answer