Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Mail Configuration
 reason: 551 This mail server requires authenticati
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sikandar
Junior Member

Pakistan
135 Posts

Posted - 24 May 2007 :  00:28:32  Show Profile
Due to the following error I contacted hosts and they proposed to change the code to be authenticated.

----- Original Message -----
From: Mail Delivery Subsystem [MAILER-DAEMON@efilter.e-insites.com]
To:
Sent: Mon, 21 May 2007 00:45:54 -0700
Subject: Returned mail: see transcript for details

The original message was received at Mon, 21 May 2007 00:45:46 -0700
from sectorn.net [66.206.9.25] (may be forged)

----- The following addresses had permanent fatal errors -----

(reason: 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail.)

----- Transcript of session follows -----
... while talking to [66.165.224.4]:
>>> MAIL From: SIZE=1149
<<< 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail.
554 5.0.0 Service unavailable

Reply from them,

The server now requires authentication to send through it. Please use authentication in your code for the e-mail address that you are using for the form to resolve the issue.

Recently we had changed the security settings in the webforms server (webforms.e-insites.com) to control the spamming issues, so please use the authentication in your code to send mail through our webforms server.
Pl guide how to resolve this issue. thanks

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 May 2007 :  03:13:41  Show Profile  Send ruirib a Yahoo! Message
Try a search in this forum. There are several posts with solutions for that issue.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 25 May 2007 :  04:08:55  Show Profile
I have gone though different posts my problem is bit different. As in my case at the time of registration the email to going to the member to complete registration but the email which is send to admin as intimation is giving error. In the admin login I am receiving the above pasted email. Please guide me in this regard. Right now I am using cdonts and cdosys is not working and there is no error but even no email is sent. thanks
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 25 May 2007 :  06:01:27  Show Profile  Visit HuwR's Homepage
your problem is no different to any of the other "mail authentication" problems, a quick search will show you what you need to add to enable mail authentication
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 25 May 2007 :  08:46:14  Show Profile
The hosts provided me the following code,

Server Name : <a server name>
IP : <an IP Addy>

Sample code :

.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPConnectionTimeout) = 60
.Item(cdoSMTPAuthenticate) = cdoBasic
.Item(cdoSMTPServer) = "<a server name>"
.Item(cdoSMTPServerPort) = 25
.Item(cdoSendUserName) = "username"
.Item(cdoSendPassword) = "password"

my code is,

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "myemail address"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "mypassword"
Flds.Update

When I set cdonts the email is going to external users but unable to deliver my own admin user for intimation. Now I changed the code of cdosys as above but now there is no error but there is no email. thanks

<edit by="AnonJr" to="remove IP addy" />

Edited by - sikandar on 26 May 2007 01:23:11
Go to Top of Page

stone5150
Starting Member

36 Posts

Posted - 25 May 2007 :  08:54:50  Show Profile
That is cool that you got it sorted out, but I personally wouldn't have posted the actual IP address or the admin email address in a public forum. But then again I am paranoid about spiders finding such things and spamming me to death.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 25 May 2007 :  09:03:53  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by sikandar

Now I changed the code of cdosys as above but now there is no error but there is no email.

Have you checked the logs? Also, are you sure it didn't get caught up in a spam filter or something?
Go to Top of Page

stone5150
Starting Member

36 Posts

Posted - 25 May 2007 :  09:14:25  Show Profile
CDOSYS and CDOBasic aren't the same thing. I always liked CDONTs better, but MS deceided to stop supporting that.
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 25 May 2007 :  09:21:47  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
quote:
When I set cdonts the email is going to external users but unable to deliver my own admin user for intimation. Now I changed the code of cdosys as above but now there is no error but there is no email. thanks


cdonts does not support authentication. If you use it, your username and password will not be sent to the mail server. Its highly unlikely that your host would have allowed an un-authenticated user to send email outside of your domain unless of course they have setup your mail server as an open relay.

Make sure that CDOSYS is selected in your email server config. You could also change

on error resume next

to
on error goto 0


and see if an error is raised.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 26 May 2007 :  04:10:26  Show Profile
I have tested with the following changes with on error got 0 and getting following error messages. I have not included username and password here while both lines are there. Thanks

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60

Sending E-Mail

CDO.Message.1 error '80040220'

The "SendUsing" configuration value is invalid.

/inc_mail.asp, line 148

--------------------------------------------------------
'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer
'Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60

Sending E-Mail

error '80040211'
/inc_mail.asp, line 148
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 26 May 2007 :  04:14:50  Show Profile
With these settings no error but no email as well,

Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07