Robert. I wanted to know (maybe you can help) how to set a reply-to field in
ASP, for when I want to reply to an e-mail inquiry it goes straight to the
sender.? Because as I have it now, the inquiries come from my e-mail address.
Thanks!
------ Original Message ------
Received: Tue, 08 May 2007 03:08:31 AM PDT
From: "Atkinson, Robert" < ratkinson%40tbs-ltd.co.uk">ratkinson
tbs-ltd.co.uk>
To: < 1stJavaScript%40yahoogroups.com">1stJavaScript
yahoogroups.com>
Subject: RE: [1stJavaScript] Form problem
> Riyad, this question should really be posted on a ASP group
> ( ASP-Support-Group%40yahoogroups.com">ASP-Support-Group
yahoogroups.com), but here is where I think the problem
is
>
br>
>
> MyMail.From = request.form("email")
>
> This means that the email will be sent from the user filling out the form,
> but should be 'myEmail' instead.
>
> Rob.
>
> -----Original Message-----
> From: 1stJavaScript%40yahoogroups.com">1stJavaScript
yahoogroups.com [mailto: 1stJavaScript%40yahoogroups.com">1stJavaScript
yahoogroups.com]
On
> Behalf Of Riyad Anabtawi
> Sent: 07 May 2007 23:41
> To: 1stJavaScript%40yahoogroups.com">1stJavaScript
yahoogroups.com
> Subject: [1stJavaScript] Form problem
>
> I have a form in this page: http://ranabtawi.com/rates.shtml And I get this
> error when I fill up my form Persits.MailSender.4 error '800a0006' 553
> < riyada%40usa.net">riyada
usa.net >: Sender address rejected: not owned by user
> riyada%40ranabtawi.com">riyada
ranabtawi.com /aspemail.asp, line 45 . It used to work great until
> about a week ago..
>
> And this the response I got from support guys:
> "To protect the integrity of our mail servers, we have implemented a
setting
> which requires users to send from an actual email address. This setting
> prevents the sending of email using a spoofed address in the 'from' field.
> This means that a sender must use the same 'from' address as the email
> address being used to authenticate. As a result of this setting, the email
> recipient will be able to identify the actual sender of the received email.
> The 'reply to' address can be changed if you do not want replies sent to
the
> 'from' address.
>
> If we do not make this setting change it will allow spam to be sent through
> our mail servers. The result of spam being sent through our mail servers is
> we get blocked by other ISPs like AOL and Earthlink and we see a
degradation
> in service. Which then results in email you send to those ISPs being
blocked.
>
> objEmail.Username = " you%40domain.com">you
domain.com" and objEmail.From = " you%40domain.com">you
domain.com"
> have to use the same email address."
>
> Here is my aspemail code:
>
> <%
>
> Dim MyMail
> ' General Message Info
> myHost = "mail.ranabtawi.com"
> myEmail = " riyada%40ranabtawi.com">riyada
ranabtawi.com"
> myPassword = "240856"
> myTo = " riyada%40usa.net">riyada
usa.net"
> mySubj = "Rental Inquiry from Quinta Anabtawi"
> myMsg = request.form("message")
> strName = request.form("name")
> strEmailUser = request.form("email")
> straday = request.form("aday")
> stramonth = request.form("amonth")
> strayear = request.form("ayear")
> strdday = request.form("dday")
> strdmonth = request.form("dmonth")
> strdyear = request.form("dyear")
>
>
> 'ASPEMail
> strEmailMess= "Name: " & strName & "<br />" & VBNewLine strEmailMess=
> strEmailMess & "Email Address: " & strEmailUser & "<br />" & VBNewLine
> strEmailMess= strEmailMess & "Dates Requested : From "& straday
strEmailMess=
> strEmailMess & "/" & stramonth strEmailMess= strEmailMess & "/" & strayear
> strEmailMess= strEmailMess & " To : " & strdday
> strEmailMess= strEmailMess & "/" & strdmonth strEmailMess= strEmailMess &
"/"
> & strdyear & "<br />" & VBNewLine strEmailMess= strEmailMess & myMsg &
"<br
> />" & VBNewLine
>
> Set MyMail = Server.CreateObject("Persits.MailSender")
> MyMail.Host = myHost
> MyMail.body = strEmailMess
>
>
> MyMail.IsHTML = True
> MyMail.From = request.form("email")
> MyMail.Username = myEmail
> MyMail.Password = myPassword
> MyMail.AddAddress myTo
> MyMail.Subject = mySubj
>
>
> If MyMail.Send Then
> Response.R