Print Page | Close Window

Anyone use MailEnable on Web Wiz Forums?

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=9180
Printed Date: 13 April 2026 at 9:11pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Anyone use MailEnable on Web Wiz Forums?
Posted By: photoshop_god
Subject: Anyone use MailEnable on Web Wiz Forums?
Date 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!




Replies:
Posted By: photoshop_god
Date Posted: 24 January 2004 at 10:27am
Don't bother replying, I figured out what the stupid problem was.  Sleep does help!!


Posted By: neotrix
Date Posted: 24 January 2004 at 10:37am
are you trying to make something like pure asp email

-------------
http://www.muhammadbinyusrat.com/blog/" rel="nofollow - Say to the believing men..


Posted By: photoshop_god
Date 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!!


Posted By: manos2000
Date Posted: 12 October 2004 at 12:56pm

what was the mistake?

 

thanks

 

dimitri



Posted By: manos2000
Date 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)

 

 



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


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


Posted By: sfd19
Date Posted: 08 August 2005 at 5:22pm

To make sure, you have the ME component installed on your server?



-------------
Politics, economy & social issues: http://www.studentsfordemocracy.net - StudentsforDemocracy.net


Posted By: robfromaaa
Date Posted: 11 August 2005 at 2:45am
I have this set up now, but for some reason I am unable to send any e-mails to addresses that aren't local to the server.  =(
 
I have gotten over a hundred of these messages today:
 

MailEnable: Message delivery has been delayed.

Message is waiting at PGMx.com for delivery to hotmail.com.

The message will be retried for another 30 hours.

 

Reason: Mail Server for hotmail.com could not be contacted at this time. MailEnable will keep trying to deliver this message and will notify you of any progress.



Posted By: WebWiz-Bruce
Date Posted: 11 August 2005 at 5:57am
This will be due to the way your host has setup their SMTP server, contact your hosting company about this.

-------------
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: robfromaaa
Date Posted: 11 August 2005 at 6:00am
It is actually my own dedicated server, so I can change whatever I need on it.  It was working before, but now for some reason I am unable to send messages to non-local addresses.  =(


Posted By: photoshop_god
Date Posted: 11 August 2005 at 10:33am
It is important that you grant relay rights to the local IP address of the server that is calling this component.
 
If you do not do this you will only be able to send e-mails to local e-mail accounts.  Visit the page below for more information.
 
http://www.mailenable.com/kb/Content/Article.asp?ID=ME020044 - http://www.mailenable.com/kb/Content/Article.asp?ID=ME020044
 
Again, all this information is for the professional edition of mailenable.  The enterprise edition is new software and might have issues with it's mail object.  I would strongly recommend posting your problem in the Mailenable support forums if the problem continues so they can begin fixing the problem.  It sounds like all you have to do is grant relay rights.  Just make sure they don't setup an open relay.   Make sure mailenable checks to make sure the e-mail address sending the e-mail is a valid account.



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