Re: Email-ext plugin and Pre-send Script variables

2018-03-15 Thread danny
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 ' > emailext( > to: "m...@email.com", > pr

Re: Email-ext plugin and Pre-send Script variables

2018-03-15 Thread Victor Martinez
Have you tried with double quote multistring and also the $ variable? node { FROM = 'AAA ' emailext( to: "m...@email.com", presendScript: """msg.setHeader("From", ${FROM});""", subject: "test", mimeType: 'text/html', body: "content" ) } -- You