close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Microsoft JScript runtime error '800a138f'

Thread began 10/11/2009 5:03 am by chris172668 | Last modified 10/13/2009 8:51 am by chris172668 | 5615 views | 4 replies


Microsoft JScript runtime error '800a138f'

After I send my form (via GoDaddy), I get this error, no matter whether I fill in any 'BCC', 'CC' or other fields at setup or leave them blank:

Microsoft JScript runtime error '800a138f'
Object expected
/afcc7/onlineforms/testform.asp, line 23

The 'live' form is here:

My code is this:
<!--#include file="../WA_Universal_Email/CDOSYS_JS.asp" -->
<!--#include file="../WA_Universal_Email/MailFormatting_JS.asp" -->
function WA_Universal_Email_1_SendMail(RecipientEmail) {
var MailAttachments = "";
var MailBCC = "";
var MailCC = "";
var MailTo = "";
var MailBodyFormat = "";
var MailBody = "";
var MailImportance = "";
var MailFrom = "" + String(String(Request.Form("Name"))) + "|WA|" + String(String(Request.Form("email"))) + "";
var MailSubject = "EAFCA 2010 Registration";

//Global Variables
gAddBCC = "";
gAddCC = "";
gAddRecipient = "";
gBodyFormat = "";
gSetImportance = "";

WA_MailObject = WAUE_Definition("","25","","","","");

if (RecipientEmail) {
WA_MailObject = WAUE_AddRecipient(WA_MailObject,RecipientEmail);
else {
//To Entries
WA_MailObject = WAUE_AddRecipient(WA_MailObject,"");
MailTo = gAddRecipient;

//Attachment Entries

//BCC Entries
WA_MailObject = WAUE_AddBCC(WA_MailObject,"");
MailBCC = gAddBCC;

//CC Entries
WA_MailObject = WAUE_AddCC(WA_MailObject,"");
MailCC = gAddCC;

//Body Format
WA_MailObject = WAUE_BodyFormat(WA_MailObject,0);
MailBodyFormat = gBodyFormat;

//Set Importance
WA_MailObject = WAUE_SetImportance(WA_MailObject,"3");
MailImportance = gSetImportance;

//Start Mail Body
MailBody = MailBody + "";
MailBody = MailBody + String(Request.Form("Name"));
MailBody = MailBody + "\r\n";
MailBody = MailBody + String(Request.Form("email"));
MailBody = MailBody + "\r\n";
MailBody = MailBody + String(Request.Form("Address"));
MailBody = MailBody + "";
//End Mail Body

WA_MailObject = WAUE_SendMail(WA_MailObject,MailAttachments,MailBCC,MailCC,MailTo,MailImportance,MailFrom,MailSubject,MailBody);

WA_MailObject = null;
if ((String(Request.Form("Submit")) != "undefined")) {
//WA Universal Email object="CDOSYS"
//Send Loop Once Per Entry

//Send Mail All Entries
if ("registration_confirmation.htm"!="") {

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Test Form 1</title>
<form action="" method="post" name="form" id="form" accept-charset="iso-8859-1">
<p> Email:<br>
<input name="email" type="text" id="email">
(this must be a proper email address) </p>
<p> Name<br>
<input name="Name" type="text" id="Name">
<p> Address<br>
<input name="Address" type="text" id="Address">
<input type="submit" name="Submit" value="Submit" >


Any assistance is appreciated.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...