Victor, I thank you for the heads up, this actually worked!
On Thursday, March 15, 2018 at 2:06:52 PM UTC+2, Victor Martinez wrote: > > Have you tried with double quote multistring and also the $ variable? > > node { > FROM = 'AAA <a...@me.com>' > emailext( > to: "m...@email.com", > presendScript: """msg.setHeader("From", ${FROM});""", > subject: "test", > mimeType: 'text/html', > body: "content" > ) > } > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a60e83fb-1497-4d3c-aa48-57c7209901a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.