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

taropatch
Average Member

USA
741 Posts

Posted - 27 March 2007 :  22:27:44  Show Profile
I have been researching a problem at my forum where member-to-member emails sent through the forum are not working. Mail sent to me as the Admin is working, though.

I think this is caused by my host requiring that the sending address be a valid email account for the domain.

So in inc_mail.asp (I'm using CDOSYS), I added this:
quote:
objNewMail.To = strRecipients
objNewMail.From = "validemail@mydomain.com"
objNewMail.ReplyTo = strSender
I think this is working now but will be testing further. Just wanted to post to check that this is okay. Also if it is, hoping that this may help someone else.

Lastly, the authentication email does not seem to be going out for new registrations. Think that it's related to my change or a separate problem?

Andy

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 28 March 2007 :  04:52:53  Show Profile
I had this problem when we moved to a dedicated server a few years back; e-mails sent from our websites to addresses not on our server weren't getting through. We had to change the address of the e-mail server on all our sites to localhost.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 28 March 2007 :  16:07:34  Show Profile
Setting to localhost did not work for me but the solution I outlined appears to be working.

However, the automated email for new registered members to validate their email is NOT going out. Can anyone suggest where I might look to fix this?

Interestingly, I have a mod installed to send a reminder to pending members and if I manually do that, the mail does go out. What's going on? And it's definitely not a SPAM filter.

Edited by - taropatch on 28 March 2007 16:09:23
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 29 March 2007 :  04:33:32  Show Profile
If it's just that one e-mail, my guess would be that the problem lies in your scripts rather than with anything on your mail server's side. Have a look through you logs to see if there's any errors occurring and if the e-mail is actually going out.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 29 March 2007 :  08:48:48  Show Profile
Strangely, I did a clean snitz 3.4.06 install on the server. It has no mods except for my adding the objNewMail.ReplyTo to inc_mail.asp.

Registration emails do not go out (well, not received). Once I activate the member, test emails go out and are received.
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 01 April 2007 :  09:29:08  Show Profile
Is anyone else at www.crystaltech.com?

1) A valid email on the domain must be used as the from address
2) Automated emails like the registration email needs to be authenticated with username and password.

I thought I figured out #1 but now no emails are working. I cannot figure this out even though it seems straightforward. Can someone offer an extra set of eyes or maybe have another idea?

	        '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") = 1
		Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "valid@mydomain.com"
			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 = "valid@mydomain.com"
		objNewMail.ReplyTo = strSender
		objNewMail.Subject = strSubject
		objNewMail.TextBody = strMessage
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