Author | Topic: SMTP authentication | |
---|---|---|
Andreas Pongratz | SMTP authentication on Sat, 29 Dec 2001 12:25:52 +0100 Is there a way to send mails using a SMTP-Server where I have to log on using username and password? When I try an SMTP-Server that doesn't need authentication the samples from ASInet work, but I can't find a way to authenticate when I create the oSMTPclient-object. The communication with the SMTP-Server is the following: Info: Socket created succesfully Info: Successfully connected to relay2.Austria.EU.net Info: Server response: 220 relay2.austria.eu.net ESMTP Sendmail ; Sat, 29 Dec 2001 12:14:51 +0100 (MET) Info: Sending: HELO nowhere.com Info: Server response: 250 relay2.austria.eu.net Hello [217.113.99.138], pleased to meet you Info: Sending: MAIL FROM:a.pongratz@ap-soft.at Info: Server response: 501 5.1.8 a.pongratz@ap-soft.at... illegal MAIL FROM: a.pongratz@ap-soft.at Error: Unexpected response from server 5 Message transmission failed Info: Sending: QUIT Regards, Andreas | |
Frans Vermeulen | Re: SMTP authentication on Mon, 31 Dec 2001 09:35:16 +0100 Andreas, I don't know if this helps you... > Info: Server response: 501 5.1.8 a.pongratz@ap-soft.at... illegal MAIL FROM: > a.pongratz@ap-soft.at 501 means: syntax error in parameters or arguments. but AFAIK it should be: MAIL FROM:<your.email@dres.at> note the "<" and the ">" around the emailadres. AFAIK there is no password required in smtp. Regards, Frans Vermeulen fvermeulen@ehp.nl | |
Gernot Trautmann | Re: SMTP authentication on Wed, 02 Jan 2002 11:33:56 +0100 Andreas, Yes, some mail servers require a password for SMTP. If the mail client cannot handle this, you might want to try to fool the server using POP before SMTP. Most servers are happy with it. Happy New Year! Gernot Trautmann Alaska Software Technology AG ------------------------------------------------------------- Technical Support EMEA: mailto:support@de.alaska-software.com Technical Support APRA: mailto:support@us.alaska-software.com News Server: news://news.alaska-software.com Home Page: http://www.alaska-software.com ------------------------------------------------------------- | |
Anand Gupta | Re: SMTP authentication on Wed, 02 Jan 2002 17:34:25 +0530 Have read about it (POP before SMTP). But never realised it for Auth.SMTP. Nice info Gernot. Thanx Anand Gernot Trautmann wrote in message <3C32E214.DC9D7DFB@us.alaska-software.com>... >Andreas, >Yes, some mail servers require a password for SMTP. If the mail >client cannot handle this, you might want to try to fool the >server using POP before SMTP. Most servers are happy with it. > >Happy New Year! >-- >Gernot Trautmann >Alaska Software Technology AG > >------------------------------------------------------------- >Technical Support EMEA: mailto:support@de.alaska-software.com >Technical Support APRA: mailto:support@us.alaska-software.com >News Server: news://news.alaska-software.com >Home Page: http://www.alaska-software.com >------------------------------------------------------------- | |
Andreas Pongratz | Re: SMTP authentication on Fri, 04 Jan 2002 21:08:16 +0100 Hi Gernot! Nice idea, but I already solved my problem by using SEE4XB from www.marshallsoft.com. This library supports smtp-authentication among other nice features. Andreas Pongratz "Gernot Trautmann" <gt@us.alaska-software.com> schrieb im Newsbeitrag news:3C32E214.DC9D7DFB@us.alaska-software.com... > Andreas, > Yes, some mail servers require a password for SMTP. If the mail > client cannot handle this, you might want to try to fool the > server using POP before SMTP. Most servers are happy with it. > > Happy New Year! > -- > Gernot Trautmann > Alaska Software Technology AG > > ------------------------------------------------------------- > Technical Support EMEA: mailto:support@de.alaska-software.com > Technical Support APRA: mailto:support@us.alaska-software.com > News Server: news://news.alaska-software.com > Home Page: http://www.alaska-software.com > ------------------------------------------------------------- |