Print Page | Close Window

Problems with W3 JMail Component

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


Topic: Problems with W3 JMail Component
Posted By: jasonpseaux
Subject: Problems with W3 JMail Component
Date Posted: 29 July 2003 at 9:36pm

I'm having some problems with the W3 JMail component.  The problem is that my server is not an open relay. How do I authenticate to the server?

I am the administrator for my the server machine so changes can be made to server settings. Except make my server an open relay.

Jason S.




Replies:
Posted By: b_bonnett
Date Posted: 29 July 2003 at 9:47pm

You could try editing the functions/functions_send_mail.asp file and see if you could add authentication in there. You should be able to (I don't know, I've never tried it...).

Blair



-------------
Webmaster, http://www.planegallery.net/ - The Plane Gallery
Greetings From Christchurch


Posted By: jasonpseaux
Date Posted: 29 July 2003 at 10:40pm
I've tried that, and I know it would work. I'm just not too familiar with the code.


Posted By: cderington
Date Posted: 16 January 2004 at 9:40pm

The Jmail code looks like this:

msg.MailServerUsername = " mailto:username@domain.com - username@domain.com "
msg.MailServerPasword = "password"

However, in my investigation into this, I have uncovered that the creators of Web Wiz Forum declare their variables for Message Receipient, Message Subject, etc...

The Jmail44 component (free version) uses this method to send mail and allows for authentication.  I don't think that the Forum uses the most up to date Jmail component.  The code that calls the object in the forum's functions_send_mail.asp page sets the object like this:

Set objJMail = Server.CreateObject("JMail.SMTPMail")

But the Jmail44 component set the message like this:

set msg = Server.CreateObject( "JMail.Message" )

Since the user name and password authentication is constant and not a variable, I tried to add the authentication code to the /admin/email_notify_configure.asp page just below the

'Read in the details from the form
strMailComponent = Request.Form("component")
strMailServer = Request.Form("mailServer")
strMailServerUserName = " mailto:username@domain.com - username@domain.com "
strMailServerPassword = "password"

and then calling the contents of the string in the functions_send_mail.asp below the:


'Include sender authentication information
    .MailServerUserName = strMailServerUserName
    .MailServerPassword = strMailServerPassword

 

but alas, that did not work either.  Anyone have any suggestions, please help. 

 

Thanks,

 

Craig

 

 

 



Posted By: jasonpseaux
Date Posted: 16 January 2004 at 11:45pm

there is no need to modify any asp.  simply format the Outgoing mail server as follows:

username:password@domain.com

this should work in most cases.

Jason P. Seaux
Forum Admin.
Tinkersgardens.com



Posted By: india
Date Posted: 17 January 2004 at 3:09am

Did that work for you?

I didnt work with me



-------------
India

http://mumbai2.netfirms.com


Posted By: india
Date Posted: 17 January 2004 at 3:26am

Plzz help.

I also have the same problem.

I need authentication

Any other suggestions ?

anyone?



-------------
India

http://mumbai2.netfirms.com


Posted By: jasonpseaux
Date Posted: 17 January 2004 at 7:27am
what email server are you using?


Posted By: india
Date Posted: 17 January 2004 at 7:45am

?? what do you mean bye mail server ?

i used Jmail com0ponent

my webhost is http://www.itchinese.com - www.itchinese.com

thx



-------------
India

http://mumbai2.netfirms.com


Posted By: cderington
Date Posted: 17 January 2004 at 6:34pm

So that's it.  No one else has any ideas on authenticating with a smtp mail server using the Jmail component.  Somebody please help...

 

 




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