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 problem with Brinkster Account
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bjornnilsson
Starting Member

2 Posts

Posted - 23 October 2007 :  07:07:36  Show Profile
Hi!

Having a bit of a problem here. Recently installed the latest version of Snitz on my website. The installation went very smoothly and everything works perfectly except for the mail function. My website is hosted by Brinkster (their Rookie Package, for reference) and I have been searching for a solution to this problem for a few days but none of the posts I have read through seems to provide a working solution.

I have choosen to use the CDOSYS mailing option since the server uses IIS 6.0 (taken from the Server Information tab in the Admin options: SERVER_SOFTWARE Microsoft-IIS/6.0).

I have tried the most obvious approach which is hardcoding the username and password of my chosen mail account into inc_mail.asp with no success whatsoever. When I try to send a mail through Snitz to another User (added for test purposes) which is registered on a Hotmail address, I get a popup window telling em that the mail was sent. Unfortunately, it never arrives.

I have turned Support section upside down looking for information on wether or not they stop mail accounts on their servers from relaying mail. I have found none.

So basically is if any of you people know how to solve this on a Brinkster server. When I registered on this forum, I used the same mail address that was used during these tests and even though the confirmation mail landed in my junk-mailbox, it arrived which my own test-mail failed to do.

I have also tried switching to other mailing-modes but since my ASP knowledge isn't quite up to date after a few years of rest, I am not sure that I even configured them correctly.

The strangest thing is that I succeeded in sending a test mail ONCE using ASPEmail under Mozilla Firefox. After this one mail, nothing has worked. Most of my testing is done using Explorer 7 from a corporate network so if the ASP-code needs any ports open on the terminal I am using, that could be a problem.

If you need any specific code or configuration information for further deduction, just tell me.

Any help is appreciated.

balexandre
Junior Member

Denmark
418 Posts

Posted - 23 October 2007 :  07:34:28  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message
I used Brinkster as well (changed cause it was really slow for more than 10 users at once) and I had some problems as well with the email, but I always used ASPEmail

and changed the code as follows

		Set objNewMail = Server.CreateObject("Persits.MailSender")
		objNewMail.FromName = strFromName
		objNewMail.From = email address removed by HuwR
		objNewMail.AddReplyTo strSender
		objNewMail.Host = strMailServer
		objNewMail.Username = email address removed by HuwR
		objNewMail.Password = "**********"
		objNewMail.AddAddress strRecipients, strRecipientsName
		objNewMail.isHTML = true
		objNewMail.Subject = replace(strSubject, chr(13), "<br/>")
		objNewMail.Body = strMessage

	On _
		Error _
			Resume _
				Next

		objNewMail.Send
		If Err <> 0 Then 
			Err_Msg = Err_Msg & "<li>" & fLang("L_I_Mail001") & " " & Err.Description & "</li>"
		End if


hope it helps

I had to use objNewMail.From = objNewMail.Username because of some email politics regarding SPAM and a better way to prevent it...

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"



Edited by - balexandre on 23 October 2007 07:34:49
Go to Top of Page

bjornnilsson
Starting Member

2 Posts

Posted - 23 October 2007 :  10:41:37  Show Profile
Thanks a blast man! It only took me a minute to make it work and upon trying to send this, it didn't even end up in the junk-mail basket (which appears to be a often experienced problem).

Anyways, thank you for your fast and accurate response!

Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 23 October 2007 :  17:03:55  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message
no worries mate...

feel free to came here, anyone will help you


(thxs for changing the email HuwR, I din't know it was a problem, but thxs again)

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

rnhstn
Starting Member

36 Posts

Posted - 15 December 2007 :  08:21:46  Show Profile  Visit rnhstn's Homepage
Hi Bruno,
Thanks for your response. I'm anxious to put in your code recommendation to fix this same problem I'm having. However, being an asp novice I need to know three things...
1) where do you put the coding you recommend (see below)
2) am I suppose to change the "email address removed by HuwR" to something else, if so what.
3) do I need to change .Password = "**********", if so to what?

Set objNewMail = Server.CreateObject("Persits.MailSender")
objNewMail.FromName = strFromName
objNewMail.From = email address removed by HuwR
objNewMail.AddReplyTo strSender
objNewMail.Host = strMailServer
objNewMail.Username = email address removed by HuwR
objNewMail.Password = "**********"
objNewMail.AddAddress strRecipients, strRecipientsName
objNewMail.isHTML = true
objNewMail.Subject = replace(strSubject, chr(13), "<br/>")
objNewMail.Body = strMessage

On _
Error _
Resume _
Next

objNewMail.Send
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>" & fLang("L_I_Mail001") & " " & Err.Description & "</li>"
End if
objNewMail.From = objNewMail.Username
-------------------------------------
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 16 December 2007 :  10:51:37  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message
You need to understand that this is nothing about ASP or even the Forum Code...

this is actually about EMAIL, and for sure you are hosting your files in a host server, or sometimes your own VPN, Dedicated or even at home with a cheap high speed broandband... in the cas ethat's a host server they (normally) give you a Email Server that you, for example have 500 email accounts unimited alias etc etc etc.

this problem is related to that.

When you ask me what's the username and password, this you need to know from your Host, whatever language you are good about, .NET, PHP, Java, etc, this is nothing to do about language, only email!

you need to create an email account and user the Server, User, and Password for that account, sometimes, webmaster@yourdominan.com or even a noreply@yourdomain.com.

This topic is about how (now) thoose Email servers fight SPAM, and one of this new ways is that every email that has a FROM different the EMAIL USERNAME will be set as SPAM, and here you can see the code that will tell the server not to set the email as SPAM, because we are setting the username and the FROM address the same.

the page were you need to change this is the pop_email.asp file, and there you will find several blocks of code that do the same thing, you need to change the one you are using based on what component you use with your host to send emails.

hope this will give you some help.

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


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.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07