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 / C++ / MFC
  4. 554 error :smtp server not ready for data or relay denied

554 error :smtp server not ready for data or relay denied

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminsecurityhelptutorial
4 Posts 3 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.
  • N Offline
    N Offline
    neha agarwal27
    wrote on last edited by
    #1

    I am trying to sand mail using my smtp server to yahoo or gmail its giving these errors. 554 error :smtp server not ready for data 554 error :Relay denied i suppose my server requires authentication... can anybody plss tell me how to do so or can give me any sample code to do so thans in advance

    B 1 Reply Last reply
    0
    • N neha agarwal27

      I am trying to sand mail using my smtp server to yahoo or gmail its giving these errors. 554 error :smtp server not ready for data 554 error :Relay denied i suppose my server requires authentication... can anybody plss tell me how to do so or can give me any sample code to do so thans in advance

      B Offline
      B Offline
      Benoy Bose
      wrote on last edited by
      #2

      You didin't specified at which section you got the error. If your server need an authentication then you just have to setup an smtp server in your PC and use zoneedit.com for setting up the MX Records.

      N 1 Reply Last reply
      0
      • B Benoy Bose

        You didin't specified at which section you got the error. If your server need an authentication then you just have to setup an smtp server in your PC and use zoneedit.com for setting up the MX Records.

        N Offline
        N Offline
        neha agarwal27
        wrote on last edited by
        #3

        Actually i m not getting ur point The error comes when i send the DATA command sTemp = "DATA\r\n"; m_wsSMTPServer.Send( (LPCTSTR)sTemp, sTemp.GetLength() ); if( !get_response( DATA_SUCCESS ) ) { return FALSE; } it returns this error 554:No valid recipients access denied i m sending a mail on yahoo account

        M 1 Reply Last reply
        0
        • N neha agarwal27

          Actually i m not getting ur point The error comes when i send the DATA command sTemp = "DATA\r\n"; m_wsSMTPServer.Send( (LPCTSTR)sTemp, sTemp.GetLength() ); if( !get_response( DATA_SUCCESS ) ) { return FALSE; } it returns this error 554:No valid recipients access denied i m sending a mail on yahoo account

          M Offline
          M Offline
          markkuk
          wrote on last edited by
          #4

          Did you send MAIL FROM: and RCPT TO: commands succesfully? The error looks like your previous RCPT TO: failed.

          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