Print Page | Close Window

Variable is undefined: ’SendMail’

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3382
Printed Date: 01 April 2026 at 1:08pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Variable is undefined: ’SendMail’
Posted By: mykp
Subject: Variable is undefined: ’SendMail’
Date Posted: 08 June 2003 at 9:00am

I have setup up the forums and evertything works fine

Except that I get the error message below when I try to register a new user on the system. The problem seems to be the sendmail bit of the registration, of which I am using CDONTS and I also have Jmail and ASP mail which give the same error message.

The smtp server is set to the right thing and the user details are entered into the database, but the register email is not sent.

The error I get is

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'SendMail'

/forums/register.asp, line 871

The forum is available at http://mykp.co.uk/forums - http://mykp.co.uk/forums

Anybody got any ideas, as its driving me up the wall. I've tried it on two seperate servers and it happens on both?

Help

Mike

 




Replies:
Posted By: WebWiz-Bruce
Date Posted: 08 June 2003 at 9:35am
Looks like it could be a corrupted file, try deleting and reuploading all the files again.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mykp
Date Posted: 08 June 2003 at 10:15am

have just downloaded all the files again from the US not UK server and stuck them back on the server after deleting the old ones and it still doing the same thing!?

Any more ideas?

Er?

mike

 



Posted By: WebWiz-Bruce
Date Posted: 08 June 2003 at 10:23am

SendMail is not a vraiable it is a function in the functions_send_mail.asp file that should be linked to as an include file in the top of the regsiter.asp file.

If it is still not working then there must be some strange setting on yoru server as this problem has not been reported before and as long as the function is there are instacted I can't see why this error is occuring.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mykp
Date Posted: 08 June 2003 at 11:22am

Aha.

Cracked it, my virus checker on the server had marked the file as unsafe due to suspicious code! However I've untagged it and told it not look at this file and now seems okay.

Cheers for the help

mike




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net