Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The ASP script(JavaScript, not VBSc

Status
Not open for further replies.

wazilian1

Programmer
Nov 8, 2002
38
US
The ASP script(JavaScript, not VBScript) at the bottom gives me the following error for the JMail.FromName, JMail.AddRecipient, and JMail.Execute. Any thoughts. Thanx.

Microsoft JScript runtime error '800a01b6'

Object doesn't support this property or method




JMail = Server.CreateObject("JMail.SMTPMail");
JMail.ServerAddress = "pop.email.com";
JMail.Sender = Request.Form("email");
JMail.FromName = Request.Form("name");
JMail.Subject = "hello";
JMail.AddRecipient = Request.Form("recipient");
JMail.Body = message;
JMail.Priority = 3;
JMail.Execute; wazilian
King of Wazil
 
actually thats vbscript and you did such a nice job of saying this was jscript [lol]

have you declared the object
var JMail

I found one example after searching and that is the only variance I see but you jsut may have not copied it.

on the other note do you have JMail support? for the best results to your questions: FAQ333-2924
Is your question a most FAQ?? Find out here FAQ333-3048
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top