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
 mail authorization problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

realnus
New Member

Turkey
77 Posts

Posted - 25 April 2005 :  18:57:58  Show Profile
Hi,
I am using snitzforums 3.4.0.4 versiyon ... The problem is that when my host firm activates authorization , my web site is not able to send activation mails ...Bu when it is turned off it works well...

My host firm has said that when authorization is on , no one is able to send mail by using my domain (for spammers) .

Here are the codes ; What kind of changes must I do ?

case "cdosys"
Set iConf = Server.CreateObject ("CDO.Configuration")
Set Flds = iConf.Fields

'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/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "XXX@XXXX.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "YYYYY"
Flds.Update

Set objNewMail = Server.CreateObject("CDO.Message")
Set objNewMail.Configuration = iConf

'Format and send message
Err.Clear

objNewMail.To = strRecipients
objNewMail.From = strSender
objNewMail.Subject = strSubject
objNewMail.TextBody = strMessage
On Error Resume Next
objNewMail.Send
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>ERROR: " & Err.Description & "</li>"
End if

Podge
Support Moderator

Ireland
3776 Posts

Posted - 25 April 2005 :  19:15:52  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Change the email address in "E-mail Server Configuration" to an email address from your domain.

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

realnus
New Member

Turkey
77 Posts

Posted - 25 April 2005 :  19:26:41  Show Profile
E-mail Server Configuration
E-mail Mode: ON
E-mail Server Address: IP of the server
Administrator E-mail Address: xxx@domain.com

Those are the settings on E-mail Server Configuration ... It is what you said...

I can send e-mails by using Microsoft Outlook even if server authentication is acitve or not ... But I must write the mail and the password to authenticatin part in outlook if authentication is active on host...

So ?

Edited by - realnus on 25 April 2005 19:30:10
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 25 April 2005 :  20:15:07  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Have you made those changes to inc_mail.asp ?

Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "you@domain.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "your password"

Those three lines are the only ones you need to authenticate with the mail server before sending a mail out.

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

realnus
New Member

Turkey
77 Posts

Posted - 25 April 2005 :  20:32:43  Show Profile
quote:
Originally posted by realnus


Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "XXX@XXXX.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "YYYYY"
Flds.Update
[/b]



I wrote the codes above in my first message and I also asked what kind of changes I must do
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 25 April 2005 :  20:53:49  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
It looks like you have everything done already assuming you have your email address & password in there instead of "XXX@XXXX.com" & "YYYYY".
Thats why I asked.

Have you successfully sent out an email using cdosys from an asp page (not from the forum or outlook) ?
The only other things I can think of is that;

you're not hosted on Windows 2003
cdosys is not working properly
your host has set their mail rules too strict and everything is being denied from your website / i.p. address

You could also ask your host to look at the mail server logs to see if it sheds any light on the problem.

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

notaprogrammer
Starting Member

USA
4 Posts

Posted - 30 April 2005 :  00:53:45  Show Profile
Don't know if this has been resolved yet...but I changed
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic

to
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1

(remembering that "1" is on...
Go to Top of Page

dubosegriffin
Starting Member

USA
22 Posts

Posted - 17 May 2005 :  07:54:21  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
Did this ever get resolved?
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.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07