On Tue, 28 Feb 2012, John P. Rouillard wrote: > In message <alpine.deb.2.02.1202281224180.4...@asgard.lang.hm>, > da...@lang.hm writes: >> I've got some alerts configured that call an external script to send an >> e-mail. It would be much nicer if I could add newlines to the sting to >> format the mail message. when I try putting \n in the sting, that is what >> comes out literaly. > > I usually add the lines to a context to get the newlines then report > the context into my program (or copy the context into a variable and > use the variable). > > Also something like: > > action = eval %r (return "foo\nbar\nbaz");
what I've been trying is action = shellcmd /path/to/script "destination" "subject" \ "message\nmoremessage" David Lang ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users