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
 ASPMail and AddReplyTo
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

li125
Starting Member

12 Posts

Posted - 18 January 2008 :  16:11:20  Show Profile
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

Posted - 19 January 2008 :  13:21:39  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Can you use CDOSYS ? You may be able to send email from a non-hosted-domain account to another non-hosted-domain account if you use authentication.

Does you host have any documentation on sending email ?

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

li125
Starting Member

12 Posts

Posted - 20 January 2008 :  07:36:35  Show Profile
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?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 January 2008 :  07:52:34  Show Profile  Visit HuwR's Homepage
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
Go to Top of Page

li125
Starting Member

12 Posts

Posted - 21 January 2008 :  05:29:33  Show Profile
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...
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 January 2008 :  08:26:58  Show Profile  Visit HuwR's Homepage
I think it should be just objNewMail.ReplyTo not objNewMail.AddReplyTo
Go to Top of Page

li125
Starting Member

12 Posts

Posted - 21 January 2008 :  12:36:17  Show Profile
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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 January 2008 :  13:00:54  Show Profile  Visit HuwR's Homepage
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.
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07