SMTP via socket problem
-
Hi everyone, I've found this code that can send SMTP commands via sockets (25). The problem is when I send the command: "rcpt to:whatever@yahoo.com", I get a server response: "503 This mail server requires authentication ...". Is there a way to create this authentication, to make this happen? Thanks in advance, Danny
-
Hi everyone, I've found this code that can send SMTP commands via sockets (25). The problem is when I send the command: "rcpt to:whatever@yahoo.com", I get a server response: "503 This mail server requires authentication ...". Is there a way to create this authentication, to make this happen? Thanks in advance, Danny
Create the authentication??? You're misunderstanding what it wants. That particular server want's you to login using a username and password before you can do anything with it. If you don't have an account on the server, you're not going to be able to do anything with it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -- modified at 22:09 Thursday 23rd March, 2006
-
Create the authentication??? You're misunderstanding what it wants. That particular server want's you to login using a username and password before you can do anything with it. If you don't have an account on the server, you're not going to be able to do anything with it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -- modified at 22:09 Thursday 23rd March, 2006
So you're saying that it can't be done? So how are the SMTP based apps work?
-
So you're saying that it can't be done? So how are the SMTP based apps work?
DannyAdler wrote:
So you're saying that it can't be done?
No! I'm saying that the server wants a username and password before you can use it!
DannyAdler wrote:
So how are the SMTP based apps work?
I think you better read up on SMTP before going any further with that app. Also, you might want to read up on why that server is asking you to authenticate before you use it. SMTP Reference[^] RFC2821: Simple Mail Transfer Protocol (Replacing the older SMTP standards)[^] EMail Spoofing[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome