Print Page | Close Window

functions_send_mail.asp Error

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=22287
Printed Date: 08 April 2026 at 10:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: functions_send_mail.asp Error
Posted By: ThomasD
Subject: functions_send_mail.asp Error
Date 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


-------------
Thomas Demond
Editor
http://forums.horsenewsnetwork.com - Horse News Network Forums



Replies:
Posted By: ThomasD
Date 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.


-------------
Thomas Demond
Editor
http://forums.horsenewsnetwork.com - Horse News Network Forums


Posted By: ThomasD
Date Posted: 28 December 2006 at 7:38am
Test successful, the above change solved the problem.

-------------
Thomas Demond
Editor
http://forums.horsenewsnetwork.com - Horse News Network Forums



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