Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problems with W3 JMail Component
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problems with W3 JMail Component

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

Joined: 19 July 2003
Location: United States
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jasonpseaux Quote  Post ReplyReply Direct Link To This Post Topic: Problems with W3 JMail Component
    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.



Edited by jasonpseaux
Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post 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, The Plane Gallery
Greetings From Christchurch
Back to Top
jasonpseaux View Drop Down
Newbie
Newbie
Avatar

Joined: 19 July 2003
Location: United States
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jasonpseaux Quote  Post ReplyReply Direct Link To This Post 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.

Edited by jasonpseaux
Back to Top
cderington View Drop Down
Newbie
Newbie
Avatar

Joined: 16 January 2004
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote cderington Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2004 at 9:40pm

The Jmail code looks like this:

msg.MailServerUsername = "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 = "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

 

 

 

Back to Top
jasonpseaux View Drop Down
Newbie
Newbie
Avatar

Joined: 19 July 2003
Location: United States
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jasonpseaux Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 3:09am

Did that work for you?

I didnt work with me

India

http://mumbai2.netfirms.com
Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jasonpseaux View Drop Down
Newbie
Newbie
Avatar

Joined: 19 July 2003
Location: United States
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jasonpseaux Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 7:27am
what email server are you using?
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.