Alaska Software Inc. - Mail problems
Username: Password:
AuthorTopic: Mail problems
Mail problems
on Sat, 20 Sep 2003 23:39:34 +0200
I'm having a problem with SendMail.prg sample program.
Using my mail server, an eeror is trapped and this is the log file content:

Info: Socket created succesfully
Info: Successfully connected to 213.217.149.16
Info: Server response: 220 FE-mail03.sfg.albacom.net ESMTP Service (7.0.009)
ready
Info: Sending: HELO nowhere.com
Info: Server response: 250 FE-mail03.sfg.albacom.net
Info: Sending: MAIL FROM:lorega@inwind,it
Info: Server response: 501 Syntax error in parameters or arguments to MAIL
command
Error: Unexpected response from server 5
Message transmission failed
Info: Sending: QUIT

Using another connection and another mail server everything works fine.
Of course, I've no problem with Outlook ... any clue?

Lorenzo
Georg S. Lorrig Re: Mail problems
on Sun, 21 Sep 2003 09:21:44 +0200
Lorenzo,

just check out the COMMA in your mail address. Maybe this causes the error?

Kind regards,

Georg

In article <3f6cc87c$1@asgcom.alaska-software.com>,  wrote:
> From: <lorega@inwind.it>
> Newsgroups: alaska-software.news.ASINet
> Subject: Mail problems
> Date: Sat, 20 Sep 2003 23:39:34 +0200
> 
> I'm having a problem with SendMail.prg sample program.
> Using my mail server, an eeror is trapped and this is the log file content:
> 
> Info: Socket created succesfully
> Info: Successfully connected to 213.217.149.16
> Info: Server response: 220 FE-mail03.sfg.albacom.net ESMTP Service (7.0.009)
> ready
> Info: Sending: HELO nowhere.com
> Info: Server response: 250 FE-mail03.sfg.albacom.net
> Info: Sending: MAIL FROM:lorega@inwind,it    <<<--- this should be a DOT
> Info: Server response: 501 Syntax error in parameters or arguments to MAIL
> command
> Error: Unexpected response from server 5
> Message transmission failed
> Info: Sending: QUIT
> 
> Using another connection and another mail server everything works fine.
> Of course, I've no problem with Outlook ... any clue?
> 
> Lorenzo
>
Re: Mail problems
on Sun, 21 Sep 2003 22:54:10 +0200
Thanks, but it's not there ... as you can see:

Info: Socket created succesfully
Info: Successfully connected to smtp.albacom.net
Info: Server response: 220 FE-mail03.sfg.albacom.net ESMTP Service (7.0.009)
ready
Info: Sending: HELO nowhere.com
Info: Server response: 250 FE-mail03.sfg.albacom.net
Info: Sending: MAIL FROM:lorega@inwind.it
Info: Server response: 501 Syntax error in parameters or arguments to MAIL
command
Error: Unexpected response from server 5
Message transmission failed
Info: Sending: QUIT

"Georg S. Lorrig" <georg@lorrig.DONTSPAMME.com> ha scritto nel messaggio
news:VA.000000df.0024635e@lorrig.dontspamme.com...
> Lorenzo,
>
> just check out the COMMA in your mail address. Maybe this causes the
error?
>
> Kind regards,
>
> Georg
>
> In article <3f6cc87c$1@asgcom.alaska-software.com>,  wrote:
> > From: <lorega@inwind.it>
> > Newsgroups: alaska-software.news.ASINet
> > Subject: Mail problems
> > Date: Sat, 20 Sep 2003 23:39:34 +0200
> >
> > I'm having a problem with SendMail.prg sample program.
> > Using my mail server, an eeror is trapped and this is the log file
content:
> >
> > Info: Socket created succesfully
> > Info: Successfully connected to 213.217.149.16
> > Info: Server response: 220 FE-mail03.sfg.albacom.net ESMTP Service
(7.0.009)
> > ready
> > Info: Sending: HELO nowhere.com
> > Info: Server response: 250 FE-mail03.sfg.albacom.net
> > Info: Sending: MAIL FROM:lorega@inwind,it    <<<--- this should be a DOT
> > Info: Server response: 501 Syntax error in parameters or arguments to
MAIL
> > command
> > Error: Unexpected response from server 5
> > Message transmission failed
> > Info: Sending: QUIT
> >
> > Using another connection and another mail server everything works fine.
> > Of course, I've no problem with Outlook ... any clue?
> >
> > Lorenzo
> >
>
>
Jack DuijfRe: Mail problems
on Tue, 23 Sep 2003 19:07:27 +0200
Hello Lorenzo,

Try to put the sender name between brackets.  <> (do not know the propper
name for these....)
Info: Sending: MAIL FROM:<lorega@inwind.it>

Regards,
Jack Duijf


<lorega@inwind.it> schreef in bericht
news:3f6cc87c$1@asgcom.alaska-software.com...
> I'm having a problem with SendMail.prg sample program.
> Using my mail server, an eeror is trapped and this is the log file
content:
>
> Info: Socket created succesfully
> Info: Successfully connected to 213.217.149.16
> Info: Server response: 220 FE-mail03.sfg.albacom.net ESMTP Service
(7.0.009)
> ready
> Info: Sending: HELO nowhere.com
> Info: Server response: 250 FE-mail03.sfg.albacom.net
> Info: Sending: MAIL FROM:lorega@inwind,it
> Info: Server response: 501 Syntax error in parameters or arguments to MAIL
> command
> Error: Unexpected response from server 5
> Message transmission failed
> Info: Sending: QUIT
>
> Using another connection and another mail server everything works fine.
> Of course, I've no problem with Outlook ... any clue?
>
> Lorenzo
>
>
Re: Mail problems
on Tue, 23 Sep 2003 23:45:43 +0200
Hello Jack,
it works! Great!!!
Anyway, both sender and recipient must be in <> in order to work properly!!
Many Thanks   (hope to give back the courtesy)

Lorenzo Gadaleta


"Jack Duijf" <jdsoftware@tiscali.nl> ha scritto nel messaggio
news:3f707d09@asgcom.alaska-software.com...
> Hello Lorenzo,
>
> Try to put the sender name between brackets.  <> (do not know the propper
> name for these....)
> Info: Sending: MAIL FROM:<lorega@inwind.it>
>
> Regards,
> Jack Duijf
>
>
> <lorega@inwind.it> schreef in bericht
> news:3f6cc87c$1@asgcom.alaska-software.com...
> > I'm having a problem with SendMail.prg sample program.
> > Using my mail server, an eeror is trapped and this is the log file
> content:
> >
> > Info: Socket created succesfully
> > Info: Successfully connected to 213.217.149.16
> > Info: Server response: 220 FE-mail03.sfg.albacom.net ESMTP Service
> (7.0.009)
> > ready
> > Info: Sending: HELO nowhere.com
> > Info: Server response: 250 FE-mail03.sfg.albacom.net
> > Info: Sending: MAIL FROM:lorega@inwind,it
> > Info: Server response: 501 Syntax error in parameters or arguments to
MAIL
> > command
> > Error: Unexpected response from server 5
> > Message transmission failed
> > Info: Sending: QUIT
> >
> > Using another connection and another mail server everything works fine.
> > Of course, I've no problem with Outlook ... any clue?
> >
> > Lorenzo
> >
> >
>
>
Thomas Braun
Re: Mail problems
on Thu, 25 Sep 2003 15:00:37 +0200
On Tue, 23 Sep 2003 23:45:43 +0200, <lorega@inwind.it> wrote:

> it works! Great!!!
> Anyway, both sender and recipient must be in <> in order to work properly!!

If you are interested in the details, see rfc 822
(http://www.faqs.org/rfcs/rfc822.html) for the correct syntax of an email
address (see section 6.1 of the above rfc).

HTH
Thomas