[Xerte] Re: Can I send mail in toolkits via asp page

KnowledgeWare knowledgeware at kccsoft.com
Thu Nov 24 01:39:17 GMT 2011


I have mail sending in desktop xerte 2 via sendAndLoadVars through an asp
page.

I've saved a page with an attached script icon with the email send code (as
below) as a model and imported it to toolkits 1.5. The script icon is set to
isFunc=0 in the toolkits version so it will execute (it's isFunc = 1 in the
desktop version because it has to be called to execute). I'm expecting the
code to execute and the mail to send. The testemail.asp page at this point
doesn't need any parameters to run, it its called it will send a test mail,
however I can't seem to call it at all with the script below.

Does toolkits support the use of the script icon? Any reason I can't do
this? Debug and trace don't bring anything up... is there a way to use debug
or trace in toolkits?

Thanks
RonM2

Works in desktop, but not after import to toolkits as a model:

myData = new LoadVars();    //create the loadvars object, then add
parameters
myData.firstname = "Ron";
myData.lastname = "McNutt";
myData.email = "xyx at xyz.com";
myData.phone = "604-000-0000";
myData.addressee = "system at xyz";
myData.program = "test course";

//now send it 
send_email.sendAndLoadVars('HTTP://www.xyz.com/cgi-bin/testemail.asp',
myData);





More information about the Xerte mailing list