Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - functions_send_mail.asp Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

functions_send_mail.asp Error

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

Joined: 30 March 2006
Location: United States
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote ThomasD Quote  Post ReplyReply Direct Link To This Post Topic: functions_send_mail.asp Error
    Posted: 28 December 2006 at 1:36am
I am getting the below error in version 8.05 when the forum tries to send an email.  I am researching the problem myself but wanted to see if anyone else had seen this error.

Server Error in Forum Application
An error has occured while sending an email.
Please contact the forum administrator.

Support Error Code:- err_SQLServer_send_mail_footer
File Name:- functions_send_mail.asp

Error details:-
Microsoft VBScript runtime error
Type mismatch
Back to Top
ThomasD View Drop Down
Newbie
Newbie
Avatar

Joined: 30 March 2006
Location: United States
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote ThomasD Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2006 at 7:20am
Update, emails are being sent successfully.

Ln 454
If Err.Number <> 0 Then Call errorMsg("An error has occured while sending an email.", "send_mail_footer", "functions_send_mail.asp")

This is the very last error check.  I am wondering if it is not that I do not have an SMTP username and password set?

Ln 375,6
.Username = strMailServerUser
.Password = strMailServerPass

Wonder if it wouldn't be better to do
if NOT strMailServerUser = "" Then
.Username = strMailServerUser
.Password = strMailServerPass
end if

This is actually done for several of the other listed email components, just not for AspEmail.  I am going to make this modification and test it.


Edited by ThomasD - 28 December 2006 at 7:35am
Back to Top
ThomasD View Drop Down
Newbie
Newbie
Avatar

Joined: 30 March 2006
Location: United States
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote ThomasD Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2006 at 7:38am
Test successful, the above change solved the problem.
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.