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 from Snitz are treated as SPAM
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 11 June 2007 :  21:30:48  Show Profile  Visit HuwR's Homepage
1) you are not supposed to put the smtp server into inc_mail, that is what the admin email config is for, this is where Snitz gets the smtp server. (it is designed that way it is not a bug)
2) you have not explained why you had to do this, if it was to enable authentication using CDOSYS then this is also by design and not a bug

you haven't given us any 'facts/bugs' just half hearted statements of what you did, not why or exact specifics or even anything that would equate to a 'bug'
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 June 2007 :  21:52:20  Show Profile  Send ruirib a Yahoo! Message
With such "huge" bugs, I'm surprised how you put up with such a bad code...

Also, let me point out that you need to make a call... you can't blame us for, simultaneously, according to you, not allowing something into inc_mail.asp and to force you to put something there. So you want to put something there, but you protest because you need to put something there? Haha, you need to make the call, we can only accept blame for one of them .

You can do everything you want with Snitz, as long as you know what to do. That's why so many thousands of people use it. You should not confound your inability to change the code with a bug. The answer to your questions is simple: who's fault? YOURS. If I needed to add that to inc_mail.asp, I'd surely be able to do it...

One final advice: don't lose your time with such buggy code, get a better one. It's just easier.


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

fixup
Starting Member

16 Posts

Posted - 12 June 2007 :  00:24:37  Show Profile
Why you guys are so...

I had searched the forum to solve my problem and saw many posts like this:

Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer = "mail.mydomain.com"

That's why I put the SMTP address into the inc_mail.asp. Now you telling me that I can only put that into the configuration box. Where were you when when you saw above line posted?
Go to Top of Page

fixup
Starting Member

16 Posts

Posted - 12 June 2007 :  01:56:31  Show Profile
Here I summarize what I did to use smtp.gmail.com to send out mail:

1) Put smtp.gmail.com into the E-mail Server Configuration box found in Admin Options. Don't put it into inc_mail.asp.

2) Change strSender to "Forum Admin <username@gmail.com>". Otherwise gmail won't relay. You may use any one of the addresses that are listed in your gmail account.

3) Add ReplyTo header and make it to be strSender. Otherwise the receiving member will reply to your above gmail account instead of the sender's email.

Again, I was right in my OP that something was missing in Snitz, it turned out to be the ReplyTo header. When you use a remote smtp server, you have to use this header for strSender. It took me at least two days to find out this. Hopefully this will help other Snitz users.

Here I copied my code in inc_mail.asp. Of course, it can be easily changed for other smtp servers.

'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/smtpusessl") = True
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username@gmail.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "465"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
Flds.Update

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

'Format and send message
Err.Clear

objNewMail.To = strRecipients
objNewMail.From = "Forum Admin <username@gmail.com>"
objNewMail.ReplyTo = strSender
objNewMail.Subject = strSubject
objNewMail.TextBody = strMessage

Edited by - fixup on 12 June 2007 03:08:58
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 12 June 2007 :  03:17:48  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
GMail's unique setup was dealt with in these two threads
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=58220
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=59133

quote:
I tried to use other SMTP servers (smtp.gmail.com, 1and1, mail2web etc.), they are all the same - mail goes out fine but won't reach some users. So it has nothing to do with SMTP.
I note that you had no problem sending using GMail in your first post.

Your problems have nothing to do with the Snitz code but instead GMail's requirement to use SSL and the fact that some mail servers are labelling your mail as SPAM.

There's nothing to stop you entering "Forum Admin <username@gmail.com>" in Email Server Config as the admin email address.

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

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 June 2007 :  03:35:44  Show Profile  Visit HuwR's Homepage
quote:
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer = "mail.mydomain.com"

That's why I put the SMTP address into the inc_mail.asp. Now you telling me that I can only put that into the configuration box. Where were you when when you saw above line posted?

No we are not saying that, what I said was, that you don't need to put the mailserver anywhere other than the admin configuration.

quote:
Again, I was right in my OP that something was missing in Snitz, it turned out to be the ReplyTo header. When you use a remote smtp server, you have to use this header for strSender. It took me at least two days to find out this. Hopefully this will help other Snitz users.
Sorry but again you were wrong in your OP, this forum and all the forums that I host use a remote mail server, none of them require the 'replyto header' to be set, so it is a unique problem with your configuration not a problem or a bug in Snitz.
Go to Top of Page

fixup
Starting Member

16 Posts

Posted - 12 June 2007 :  05:02:40  Show Profile
I knew the unique treats about gmail, such as ssl etc. If I put "Forum Admin <...>" into the configuration box, it'll be used only for registration cases. For a member to mail to others, I have to put that in inc_mail and meanwhile add replyto header.

In my case, gmail and all others I tried force me to use a verified sender address, cannot be a member's address, otherwise it won't replay. Don't know why your remote servers do not require that.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 June 2007 :  05:36:28  Show Profile  Visit HuwR's Homepage
that is because my remote mail server and my web servers are set up correctly.

adding the replyto is a specific fix for your situation (inabality to relay) it is not caused by a bug in the Snitz code, and is a well documented fix posted in several previous posts. It DOES NOT constitute a BUG in the Snitz code if your web providor does not have correctly configured email facilities for their clients.
Go to Top of Page

fixup
Starting Member

16 Posts

Posted - 12 June 2007 :  10:32:52  Show Profile
It is not that I did not set my SMTP server correctly, or Gmail did not. It is that more and more SMTP servers require a verified sender address. By default, Snitz uses a member's address as sender address.

Snitz should reflect this in inc_mail.asp and use the replyto header. Or even better, let admin to input all the fields, including username, password, auth method, port, timeout, etc., in the configuration box.

I have no intention to argue about bug or not. I just point out what I found and what I thought. It is subject to the programs whether to take my input or not.

Edited by - fixup on 12 June 2007 11:23:27
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 June 2007 :  11:29:06  Show Profile  Visit HuwR's Homepage
quote:
It is that more and more SMTP servers require the same sender and username
rubbish. This is not a requirement of RFC standards and is infact a perfectly valid option under RFC .If mail servers are doing this then they are NOT in compliance with rfc standards which govern email servers .

You can input username/password directly into inc_mail.asp and this is documented in the forums and commented in the inc_mail file, it is not incuded as a standard admin function because of all the mail components supported by Snitz only one allows authentication out of the bag.

Also, in general a good web host will have email facilities set up so that they do not require you to use Gmails smtp server in order to send emails.
Go to Top of Page

fixup
Starting Member

16 Posts

Posted - 12 June 2007 :  13:35:21  Show Profile
It's life, admit it.

I don't know if blacklists are allowed by RFC, but all mail servers use them. As long as blacklists exist, a web host server will be on the list now and then. This is exactly what happened to my forum. Email has been a hit and miss for years with my forum. Using a remote smtp server like gmail is the right way.

Many forum admins and members simply have not realized this problem. The email never got returned, they simply disappear. And sometime it works, sometime not. It is until recently I started to use gmail and found the messages from my forum are in the spam folder, I realized this huge problem. Before with Yahoo, the messages simply disappeared, so I never know.

If anyone wants a reliable forum, please use a reliable remote smtp server like gmail.

If Snitz wants to be a reliable forum software package, please use a remote server with auth as default.

Edited by - fixup on 12 June 2007 14:01:08
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 June 2007 :  14:53:27  Show Profile  Visit HuwR's Homepage
Snitz is not responsible for blacklists it is entirely out of our control.

Gmail is not considered to be a reliable remote smtp server at all, get real, it is considered in the same breath as AOL and YAHOO, ie the home of most spam generated on the planet.

You keep contradicting your own arguments as well, if gmail is recieving your forum email then what it does with it is upto gmail not Snitz.

as I said Most RELIABLE hosting packages would not require you to use a remote server at all.

Your partticular problem has been addressed in the forums and fixes posted for the components that support it, end of discussion.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07