Re: Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Slide
The messages are always sent as multipart, even for plain text messages. On Thu, Oct 13, 2016, 07:15 Adri CS wrote: > Hi slide, > > yes. That was it! Thanks! > > Altough why is the content being reported as multipart when it's a plain > text string? > > Cheers! > > > On

Re: Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Adri CS
Hi slide, yes. That was it! Thanks! Altough why is the content being reported as multipart when it's a plain text string? Cheers! On Thursday, 13 October 2016 15:57:35 UTC+2, slide wrote: > > You are missing double quotes around the variable. > > logger.println("${PROJECT_DEFAULT_CONTENT}");

Re: Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Slide
You are missing double quotes around the variable. logger.println("${PROJECT_DEFAULT_CONTENT}"); On Thu, Oct 13, 2016, 06:44 Adri CS wrote: > Dear all, > > In a project, I'm trying to access to the message contents in the > *Pre-send script.*I'm trying to add those

Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Adri CS
Dear all, In a project, I'm trying to access to the message contents in the *Pre-send script.*I'm trying to add those contents to the log. I've set up the message type directly to *text/plain* and specified the *Default Contents* to a string (let's say: "ABCDEF"). So in the *Pre-send