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 configuration thoughts
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fixup
Starting Member

16 Posts

Posted - 12 June 2007 :  17:36:26  Show Profile
I'm not making any suggestion to snitz or its developers. I just want to share it with other users about the things that took me lots of time to figure out. I won't discuss it with any mods.

1) localhost as mailer

It is simple and works to some extent. However, many mail servers will reject the messages. When you send mail out from the localhost, it is like a spammer send out spam with a netbot. At least Yahoo mail restricts this and delete the message right way. Gmail will put the message into spam folder.

The result is: the mail from some members will never reach the other member; registration validation message might never reach a new member.

2) Member's address as sender

This is the default. The problem is: a member's address usually does not match the domain of the host. Most mail servers do such domain-match check.

My solution is:

1) Always use a different SMTP server instead of localhost, unless the host is also the one that's hosting your mail. Auth is needed in inc_mail.asp.
2) For the "From" field (default is strSender), use an email address that complies to your SMTP account.
3) Use strSender as ReplyTo field.

Basically, you let snitz send out mail in the same we you use any mail client via SMTP. Don't let it be the way spammers use for spamming.

After done these, the email works like a charm. All mail server such as Yahoo Mail are happy with the messages from Snitz. If you use smtp.gmail.com, the nice thing is you'll have a copy of every message sent out, due to the way how gmail handles messages.

Hope this helps.

inc_mail.asp
-----------------------------------------
......

Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.yourdomain.com" Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username@yourdmain.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
Flds.Update
......

objNewMail.From = "Forum Admin <username@yourdomain.com>"
objNewMail.ReplyTo = strSender
......

Edited by - fixup on 13 June 2007 03:14:23
  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.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07