Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Variable is undefined: ’SendMail’
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Variable is undefined: ’SendMail’

 Post Reply Post Reply
Author
mykp View Drop Down
Newbie
Newbie
Avatar

Joined: 08 June 2003
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mykp Quote  Post ReplyReply Direct Link To This Post Topic: Variable is undefined: ’SendMail’
    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

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

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2003 at 9:35am
Looks like it could be a corrupted file, try deleting and reuploading all the files again.
Back to Top
mykp View Drop Down
Newbie
Newbie
Avatar

Joined: 08 June 2003
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mykp Quote  Post ReplyReply Direct Link To This Post 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

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
mykp View Drop Down
Newbie
Newbie
Avatar

Joined: 08 June 2003
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mykp Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.