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

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Nov 24 08:52:38 GMT 2011


It should do, yes. Make a local project so you can debug it. Is this security? Does your ado get called at all?
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare [knowledgeware at kccsoft.com]
Sent: 24 November 2011 01:39
To: 'Xerte discussion list'
Subject: [Xerte] Re: Can I send mail in toolkits via asp page

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);



_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list