Author |
Topic |
|
li125
Starting Member
12 Posts |
Posted - 18 January 2008 : 16:11:20
|
I can't get the email function to work so that a 1 user can send mail to another user. Admin mails do work, but due to antispam setting on the hosting, user mails don't work. My hosting Cy has an antispam measure in such, that or the sender or the reciever needs to be a mailbox on the hosting domain itself.
I've been told to use a mailbox from the hosting itself to send and then add a ReplyTo address for the users email.
I saw that this code was disabled in inc_mail.asp objNewMail.AddReplyTo strSender (I have to exclude the line with ' to make it work.) But then I get an error while sending mail: Send an E-MAIL Message Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method: 'AddReplyTo' ../forum/inc_mail.asp, line 72
Anymore ideas to get the email function working for 1to1 sending with ASPmail? |
|
Podge
Support Moderator
Ireland
3775 Posts |
|
li125
Starting Member
12 Posts |
Posted - 20 January 2008 : 07:36:35
|
Yes CDOSYS is also an option (IIS 5/5.1/6) I had a try with, filled in username & pw in the inc-mail.asp (line 125..) but I also don't recieve mails with it. I'm wondering, is it save to put username & pw in the asp files?
My hosting Cy has some info on: http://www.intermedia.net/support/kb/viewKBarticle.asp?id=421
Is it possible to AddReplyTo in the aspmail configuration? Standard it is commented out with the ' in front. It seems to be a valid propertie when I look at http://www.serverobjects.com/comp/Aspmail4.htm but maybe it is not supported in Snitz? |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 20 January 2008 : 07:52:34
|
quote: I'm wondering, is it save to put username & pw in the asp files
yes
quote: Is it possible to AddReplyTo in the aspmail configuration? Standard it is commented out with the ' in front.
yes, just uncomment the line, you may also need to change the objNewMail.FromAddress = strSender
so that strSender is a valid address on your hosts server |
|
|
li125
Starting Member
12 Posts |
Posted - 21 January 2008 : 05:29:33
|
quote: yes, just uncomment the line, you may also need to change the objNewMail.FromAddress = strSender
That is what I tried (see my first post) but then I get this error... |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 January 2008 : 08:26:58
|
I think it should be just objNewMail.ReplyTo not objNewMail.AddReplyTo |
|
|
li125
Starting Member
12 Posts |
Posted - 21 January 2008 : 12:36:17
|
OKAY so I changed commented line to the seconde line here and it works fine! (also note the = in the second line) 'objNewMail.AddReplyTo strSender objNewMail.ReplyTo = strSender I thought this AddReply came with the standard setup of Snitz? I already saw it like that in others posts too. there's also a object AddRecipient and also here w/o the =. All objects with Add in the name are w/o =, others with = objNewMail.RemoteHost = strMailServer objNewMail.AddRecipient strRecipientsName, strRecipients
So finally I can use a host-domain mailbox for objNewMail.FromAddress and the use the objNewMail.ReplyTo = strSender. Now I able to send user to user mails even with the strong anti-span measure of my host. Case solved after a few weeks on and off debugging, 1000x thanks to HuwR |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 21 January 2008 : 13:00:54
|
well, my guess is that since it is a commented out line nobody has actually tested it before
will ensure it gets changed in the next release. |
|
|
|
Topic |
|