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
 Struggling to get e-mail to work
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gkopp
Starting Member

21 Posts

Posted - 29 January 2008 :  17:54:24  Show Profile
This is obviously a common problem, since there are so many posts on the subject. I have tried items suggested but to no avail. I suspect it's something ridiculously simple, but I'm not a very good geek. Here's what I've got:

[Not sure how to paste the configuration box into this reply, but here's the data anyhow.]

Mail Server Configuration
Select E-mail Component: CDOSYS (IIS 5/5.1/6)
E-mail Mode: On
E-mail Server Address: mail.indyecho.net
Administrator E-mail Address: admin@indyecho.net
Require Unique E-mail: On
E-mail Validation: On
Restrict Registration: Off
Require Logon for sending Mail: On

My inc_mail.asp:
-----------
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") = "username"
'Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
'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>Your request was not sent due to the following error: " & Err.Description & "</li>"
End if
----------
This was my modification per a suggestion, but I notice that ALL the Flds are commented out.

So I really don't know where to go next and fear I'll just totally screw it up. (I do have my original inc_mail.asp file.) So suggestions are certainly welcome. Thanks.

Podge
Support Moderator

Ireland
3775 Posts

Posted - 29 January 2008 :  18:08:07  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
You need to uncomment those lines;

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") = "username"
		'Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
        	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>Your request was not sent due to the following error: " & Err.Description & "</li>"
		End if


If you need to use authentication (a username and password) before you can send email through your host's mailserver then you also need to uncomment and edit the following lines.
		'Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
		'Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"
		'Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"

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.

Edited by - Podge on 29 January 2008 18:09:17
Go to Top of Page

gkopp
Starting Member

21 Posts

Posted - 29 January 2008 :  20:05:05  Show Profile
Podge: Your suggestions put me back to the original file. However, I DO have to authenticate, so I will follow your suggestions on the edits. I'm not sure, however, whether username and password are supposed to be those I use as administrator of the forum, those I use to log into my 3essentials account or the ones I used to set up the mailbox with them. (I now have more passwords than an elephant could remember.)
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 29 January 2008 :  20:17:40  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
The section should look something like this. Substitute an email address that is hosted by your webhost along with the password for the relevant fields in red below and don't forget to uncomment the three bold lines. You will also need to set strMailServer to mail.yourdomain.com (or whatever your host gave you) in the email server config page in the admin area.
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") = "you @ yourdomain.com"
		Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "your_password"
        	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>Your request was not sent due to the following error: " & Err.Description & "</li>"
		End if

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.

Edited by - Podge on 29 January 2008 20:19:08
Go to Top of Page

gkopp
Starting Member

21 Posts

Posted - 30 January 2008 :  14:35:12  Show Profile
Except for e-mail, Snitz has been a pretty friendly application to set up. The e-mail is a frustrator. I plugged in the username and password that I confirmed with my host provider and uploaded the new inc_mail.asp, but to no avail. I changed my e-mail in the configuration box accordingly, but member-to-member e-mail capability remains dead in the water. (An interesting footnote is that, when I click to attempt an e-mail now, the send box goes empty and reveals about a quarter of a page of asp file code behind it. I'm sure this is not right either.)

Edited by - gkopp on 30 January 2008 14:36:59
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 30 January 2008 :  16:49:43  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Can you give me a link to your forum and a test acount ?

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

gkopp
Starting Member

21 Posts

Posted - 30 January 2008 :  17:22:04  Show Profile
Sure.
www.indyecho.net
Not entirely sure what you mean by a test account, but I've created username "tester" w/pw "witsend" that you can log in with.

(When I registered this user, there was a momentary lag when an entire screen of asp code appeared. Would this be due to slowness on my host's part?)
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 30 January 2008 :  17:28:22  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Sent you an email. Will be sending you another very shortly.

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

Podge
Support Moderator

Ireland
3775 Posts

Posted - 30 January 2008 :  17:34:18  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Done.

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

gkopp
Starting Member

21 Posts

Posted - 30 January 2008 :  21:13:06  Show Profile
Second e-mail not received.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 31 January 2008 :  05:24:39  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
I sent it to the email address you had setup on your forum. I can send it to another address if you let me know what it is.

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

gkopp
Starting Member

21 Posts

Posted - 31 January 2008 :  17:34:36  Show Profile
It arrived long after you sent it for some reason, but I did receive it and installed the new asp. The window upon code is gone. Thanks. Still no success with e-mail, however. I'm going to see if the host can be of any more help. Thanks, Podge.
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.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07