At 10.52 05/03/2002 -0800, you wrote:
>On Tue, 5 Mar 2002, Webmaster 9euro wrote:
>
> > I resolved so:
> > BEFORE, I had NOTHING in smtprelay.tab and got correct relay for local
> > users and "530 bad sequence command" for the emails sent from sites (with
> > "mail from" a local user address).
> >
> > NOW, I have the IP class of the subnet used by the websites on tbat server.
> > All goes OK, I get a correct relay from all sites and all accounts of local
> > domains.
> >
> > (I'm happy, but if I understand why, I'll be more happy too!)
>
>I'm pretty aure it's the ASP code that does not respect the RFC command rules.
This is a snip:
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Ufficio vendite"
Mailer.FromAddress = "[EMAIL PROTECTED]"
Mailer.RemoteHost = "mydomain.com" 'local domain
Mailer.AddRecipient request.form("Cognome"), request.form("Email") 'the
customer
Mailer.AddbcC "biafax", "[EMAIL PROTECTED]" 'not a local account
Mailer.Subject = "Grazie per il vostro ordine!"
(...)
Mailer.BodyText = strBody
Mailer.CharSet = 2
If Mailer.SendMail then
...(ErrMsg)
Else
...(OKMsg)
End if
This is the code I use in almost all forms.
Now it works (after including sites IP's in smtprelay.tab).
All other things about relay worked fine before and work fine after this
change.
>- Davide
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe xmail" in
>the body of a message to [EMAIL PROTECTED]
>For general help: send the line "help" in the body of a message to
>[EMAIL PROTECTED]
-------------------------------------------------
9euro www.9euro.com Spazio web
OP Computer www.opcomputer.com Hardware & software
Un servizio Whois gratuito http://whois.9euro.com
Un Downline manager http://downline.9euro.com
New!!! Una Chat Hard...ware www.opcomputer.com/chat
--------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]