Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. SMTP via socket problem

SMTP via socket problem

Scheduled Pinned Locked Moved C#
comsysadminsecurityhelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DannyAdler
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • D DannyAdler

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      D 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        D Offline
        D Offline
        DannyAdler
        wrote on last edited by
        #3

        So you're saying that it can't be done? So how are the SMTP based apps work?

        D 1 Reply Last reply
        0
        • D DannyAdler

          So you're saying that it can't be done? So how are the SMTP based apps work?

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups