Print Page | Close Window

forum email`s

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


Topic: forum email`s
Posted By: Triple_H
Subject: forum email`s
Date Posted: 01 December 2003 at 4:46am

I am using MDaemon PRO as my email server, it has it`s on SMTP built in.I have tried all the settings in email set up and get VBS run time error,and the last i tried was CDOSYS and got a error of can not connect to server.Any help would be appreciated.

 

http://www.kayka.org

 

 




Replies:
Posted By: Triple_H
Date Posted: 01 December 2003 at 5:22am
 

Microsoft VBScript runtime error '800a0046'

Permission denied

/forum/forum/functions/functions_send_mail.asp, line 183

 

that is the error people get when they register



-------------
http://www.kayka.org


Posted By: WebWiz-Bruce
Date Posted: 01 December 2003 at 6:16am
This means that the SMTP server doesn't have permisison to write to the SMTP server queue.

Give everyone permission to write to the folder:-

C:\Inetpub\mailroot\Queue

On the server with the SMTP server running.


-------------
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: Triple_H
Date Posted: 01 December 2003 at 7:26am
my mail server is in a folder all it`s own.I don`t have a mailroot folder in mt inetoub folder.

-------------
http://www.kayka.org


Posted By: WebWiz-Bruce
Date Posted: 01 December 2003 at 8:03am
Check the documentation for the SMTP server you have.

Or just use the built in one with IIS.


-------------
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: Triple_H
Date Posted: 01 December 2003 at 11:07am
i installed MS`s smtp server and all works except the email never get`s to the user.I am using CDONTS now.

-------------
http://www.kayka.org


Posted By: WebWiz-Bruce
Date Posted: 01 December 2003 at 11:44am
check the queue file for IIS's SMTP server at the location I gave in my previous post.

-------------
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: Triple_H
Date Posted: 01 December 2003 at 12:12pm
ok i see files in the Queue folder and i have gave everyone read write access now how do i get the email to send?

-------------
http://www.kayka.org


Posted By: WebWiz-Bruce
Date Posted: 02 December 2003 at 3:08am
Try stopping and restarting the SMTP server, this sometime does the trick.

Also check that you have an Internet connection and that port 25 is not blocked from sending email.


-------------
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: paerbjorn
Date Posted: 10 February 2004 at 11:01pm

Triple_H,

Have you gotten this resolved?  If you haven't I may be able to help out.  The Web Wiz guestbook and journal scripts can be fairly easy modified to include Mdaemon as an option during the email setup.  I'm guessing the forum script can be modified in the same way.  Basicaly it allows Mdaemon to show up in the list of email systems and will allow Web Wiz to send emails directly through Mdaemon just as though it were using something like CDOSYS.

-boRg-, I'd be willing to share this code with you as well if you ever wanted to include it on future versions of your scripts.  It's coded just as though you were using any other email system.  (I'm not a programmer so I don't know the exact lingo to use to describe all this, but I did make it work after a lot of tweaking and trying!  )



Posted By: gwbush
Date Posted: 16 February 2004 at 2:27pm
Originally posted by paerbjorn paerbjorn wrote:

Triple_H,

Have you gotten this resolved?  If you haven't I may be able to help out.  The Web Wiz guestbook and journal scripts can be fairly easy modified to include Mdaemon as an option during the email setup.  I'm guessing the forum script can be modified in the same way.  Basicaly it allows Mdaemon to show up in the list of email systems and will allow Web Wiz to send emails directly through Mdaemon just as though it were using something like CDOSYS.

-boRg-, I'd be willing to share this code with you as well if you ever wanted to include it on future versions of your scripts.  It's coded just as though you were using any other email system.  (I'm not a programmer so I don't know the exact lingo to use to describe all this, but I did make it work after a lot of tweaking and trying!  )

 

Can you post it here?  Thanks.



Posted By: paerbjorn
Date Posted: 16 February 2004 at 4:36pm

gwbush,

Here ya go.  These instructions are for the webwizjournal application, but it should be very similar for other webwiz applications.

First you will need to edit the setup_email_notification.asp file.  At about line 220 you will need to insert this line of code.  This will add the Mdaemon option to your email component list.

<option value="Mdaemon"<% If strMailComponent = "Mdaemon" Then Response.Write(" selected") %>>Mdaemon</option>

You can add it right after this line:

<option value="AspMail"<% If strMailComponent = "AspMail" Then Response.Write(" selected") %>>AspMail</option>

Next you will need to edit the send_mail_function_inc.asp file. 

At about line 60 you will need to enter this code:

    Dim objMDUser       'Holds the Mdaemon email object
    Dim objMDMessageInfo 'Holds Mdaemon message information

You can insert the above code immediately after this line:

    Dim objAspMail  'Holds the Server Objects AspMail email object

At about line 235 you will need to add this code:

 'Mdaemon component
  Case "Mdaemon"
 
   'Create the e-mail server object
   Set objMDUser = Server.CreateObject("MDUserCom.MDUser")
             objMDUser.LoadUserDll
            
             Set objMDMessageInfo = Server.CreateObject("MDUserCom.MDMessageInfo")
    
   'Who the e-mail is from
   objMDMessageInfo.From = strEmailAddress
    
   'Who the e-mail is sent to
   objMDMessageInfo.To = strEmailAddress
             
   'The subject of the e-mail
   objMDMessageInfo.Subject = strSubject
   
   'The message type
   objMDMessageInfo.ContentType = "text/html"
   
   'The main body of the e-mail
   objMDMessageInfo.MessageBody = strEmailBody
         
   'Send the e-mail
   objMDUser.SpoolMessage objMDMessageInfo
   
   'Unload DLL
   objMDUser.FreeUserDll    

The above code will be inserted immediately after this line of code:

   'Close the server mail object
   Set objAspMail = Nothing

Hope that helps!  I have used this code in both the journal and guestbook applications.  Other applications may use different file names- but should be pretty easy to locate.  I have used this with Mdaemon version 5 on up to 6.8.5.  I'm confident it will continue to work with version 7 of Mdaemon as well (due out in March).




Posted By: gwbush
Date Posted: 17 February 2004 at 12:13am

Dear paerbjorn,

Thank you very much for sharing your codes here.

But I don' think that Mdaemon application will not be installed by my hosting company.

Bush

 




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