Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Anyone use MailEnable on Web Wiz Forums?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Anyone use MailEnable on Web Wiz Forums?

 Post Reply Post Reply Page  12>
Author
photoshop_god View Drop Down
Newbie
Newbie
Avatar

Joined: 21 January 2004
Location: United States
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote photoshop_god Quote  Post ReplyReply Direct Link To This Post Topic: Anyone use MailEnable on Web Wiz Forums?
    Posted: 23 January 2004 at 10:24am

Hi everyon,

I was wondering if anyone has used MailEnable Pro with Web Wiz Forums?  I have tried a few things and still am unable to send e-mail.  Below is what I have done.

on function_send_mail.asp:

Dim objMailEnable

and added the following:

'********************************************
  '*** MailEnable Comp ver. 1.0 ***
  '********************************************
  'MailEnable component
  Case "MailEnable"

   If Len(Trim("" & strRecipientEmailAddress)) > 0 Then
   Dim oMail
   Err.Clear
   On Error Resume Next
   Set Mail = server.CreateObject("MEMail.Message")
   If Err.Number <> 0 Then
   Response.Write "<BR><STRONG>Error:</STRONG>Could not create MailEnable Component object<BR>"
  Else
   Mail.mailTo = strRecipientEmailAddress
   Mail.mailFrom = strFromEmailAddress
   Mail.MailFromDisplayName  = strFromEmailName
   Mail.Subject = strSubject
   Mail.MessageBody = strEmailBodyMessage & strEmailBodyAppendMessage
   Mail.SendMessage
  End If
   Set Mail = Nothing
  On Error Goto 0
  End If  

I have also added MailEnable to the email_notify_configure.asp page

I'm still searching through all the asp pages to see if I'm missing something, but any help would be appreciated.

Thanks in advance!

Back to Top
photoshop_god View Drop Down
Newbie
Newbie
Avatar

Joined: 21 January 2004
Location: United States
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote photoshop_god Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2004 at 10:27am
Don't bother replying, I figured out what the stupid problem was.  Sleep does help!!
Back to Top
neotrix View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 09 November 2003
Location: Pakistan
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote neotrix Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2004 at 10:37am
are you trying to make something like pure asp email
Back to Top
photoshop_god View Drop Down
Newbie
Newbie
Avatar

Joined: 21 January 2004
Location: United States
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote photoshop_god Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2004 at 10:45am
No, I was trying to use MailEnable's comp to send e-mail.  I figured it out.  It was, like I said, a stupid mistake in the code I wrote.  Sometimes you just need to set it down and come back to it later!!
Back to Top
manos2000 View Drop Down
Newbie
Newbie


Joined: 03 October 2004
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote manos2000 Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2004 at 12:56pm

what was the mistake?

 

thanks

 

dimitri

Back to Top
manos2000 View Drop Down
Newbie
Newbie


Joined: 03 October 2004
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote manos2000 Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2004 at 2:37pm

Don't tell me it is Dim oMail

 

dimitri

ps i would like the whole asp for mailenable as my host has esmtp ver 1.07 (mail enable component)

 

 

Back to Top
robfromaaa View Drop Down
Newbie
Newbie


Joined: 08 August 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote robfromaaa Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2005 at 2:20pm
Can you please place the correction that you made?  I am trying to get the forum working with MailEnable as well, but I am not having any luck.  I included the above code and currently it is giving me:
 
Error:Could not create MailEnable Component object
WHen I try to resend the activation message.
Back to Top
photoshop_god View Drop Down
Newbie
Newbie
Avatar

Joined: 21 January 2004
Location: United States
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote photoshop_god Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2005 at 3:48pm
hi robfromaaa,
 
All I did was add o in front of the Mail variable.
 

'********************************************
  '*** MailEnable Comp ver. 1.0 ***
  '********************************************
  'MailEnable component
  Case "MailEnable"

   If Len(Trim("" & strRecipientEmailAddress)) > 0 Then
   Dim oMail
   Err.Clear
   On Error Resume Next
   Set oMail = server.CreateObject("MEMail.Message")
   If Err.Number <> 0 Then
   Response.Write "<BR><STRONG>Error:</STRONG>Could not create MailEnable Component object<BR>"
  Else
   oMail.mailTo = strRecipientEmailAddress
   oMail.mailFrom = strFromEmailAddress
   oMail.MailFromDisplayName  = strFromEmailName
   oMail.Subject = strSubject
   oMail.MessageBody = strEmailBodyMessage & strEmailBodyAppendMessage
   oMail.SendMessage
  End If
   Set oMail = Nothing
  On Error Goto 0
  End If

You must also make sure that mailenable is setup correctly.  You may want to visit http://www.mailenable.com/kb/Content/Article.asp?ID=me020102 .  You must grant relay rights for the local ip address of the server that is calling this object.  You said that you are using the enterprise edition, I only used this on the pro edition.  The enterprise is new software for mailenable so their may be issues with this version of mailenable.  The code above will call the object and send the e-mail with the pro edition.  If you are still having troubles, I would post in mailenables forum and see if anyone else is having this issue with the new version of mailenable.  If you get the error with the code above, that would lead me to believe that either the enterprise edition does not include that comp or that mailenable is not setup properly.  Sometimes they leave out things when releasing new software without even knowing it.
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.