Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - forum email`s
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

forum email`s

 Post Reply Post Reply Page  <12
Author
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: 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.
Back to Top
paerbjorn View Drop Down
Newbie
Newbie
Avatar

Joined: 10 February 2004
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote paerbjorn Quote  Post ReplyReply Direct Link To This Post 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!  )

Back to Top
gwbush View Drop Down
Newbie
Newbie
Avatar

Joined: 16 February 2004
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gwbush Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
paerbjorn View Drop Down
Newbie
Newbie
Avatar

Joined: 10 February 2004
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote paerbjorn Quote  Post ReplyReply Direct Link To This Post 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).


Back to Top
gwbush View Drop Down
Newbie
Newbie
Avatar

Joined: 16 February 2004
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gwbush Quote  Post ReplyReply Direct Link To This Post 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

 

Back to Top
 Post Reply Post Reply Page  <12

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.