cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Madu" <>
Subject HowTo obtain ISP smtp address via server/environment variables
Date Sat, 17 Feb 2007 11:20:24 GMT
I have the following line in my flow document:

var sendEmail = SimpleEmail.send('',userGlobal.getEmail(),'','Your Receipt',receipt());

Instead of having to hard code the smtp address, in this case '', is there a server/environment variable that I can pull
this value from within flowscript? So my line will now look something like:

var sendEmail = SimpleEmail.send(cocoon.getISPsmtp,userGlobal.getEmail(),'','Your Receipt',receipt());



View raw message