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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. sending mails using SMTP

sending mails using SMTP

Scheduled Pinned Locked Moved C / C++ / MFC
comalgorithmshelp
3 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.
  • U Offline
    U Offline
    User 1057324
    wrote on last edited by
    #1

    i am trying to send a mail to abc@spymac.com using SMTP thourgh TELNET.. these are the procedure i used : 1: connected to port 25(SMTP) of spymac.com: telnet spymac.com 25 2: HELO spymac.com: it return 250 OK. 3: MAIL FROM: deepgeorge@spymac.com: it returned 250 OK. 4: RCPT TO: deepgeorge@spymac.com: it returned 554 relay access denied... i've been searching for the solution for many days now, but in vain.. can anyone help me.... yours truly,

    S P 2 Replies Last reply
    0
    • U User 1057324

      i am trying to send a mail to abc@spymac.com using SMTP thourgh TELNET.. these are the procedure i used : 1: connected to port 25(SMTP) of spymac.com: telnet spymac.com 25 2: HELO spymac.com: it return 250 OK. 3: MAIL FROM: deepgeorge@spymac.com: it returned 250 OK. 4: RCPT TO: deepgeorge@spymac.com: it returned 554 relay access denied... i've been searching for the solution for many days now, but in vain.. can anyone help me.... yours truly,

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      The clue is in the error message 'relay access denied'. Spymac isn't running an open relay (a good thing, as it's a spammer's paradise otherwise). Presumably the server has a list of acceptable TCP/IP addresses (or netmasks) it will accept mail from, and your machine isn't on that list. Alternatively, I'm talking from an orifice not normally reserved for communication, and someone who knows more will be along in a minute. Steve S

      1 Reply Last reply
      0
      • U User 1057324

        i am trying to send a mail to abc@spymac.com using SMTP thourgh TELNET.. these are the procedure i used : 1: connected to port 25(SMTP) of spymac.com: telnet spymac.com 25 2: HELO spymac.com: it return 250 OK. 3: MAIL FROM: deepgeorge@spymac.com: it returned 250 OK. 4: RCPT TO: deepgeorge@spymac.com: it returned 554 relay access denied... i've been searching for the solution for many days now, but in vain.. can anyone help me.... yours truly,

        P Offline
        P Offline
        Paul Ranson
        wrote on last edited by
        #3

        The IP for spymac.com is 213.218.8.109 the 'MX' for spymac.com is mail-in1.spymac.net which has an IP of 213.218.8.221. So when you connect to a mail server at spymac.com and ask it to deliver mail to a spymac.com address it must relay that mail to the mail-in1 server, and it won't do that from just any old IP address. Hence the SMTP error. Try connecting to the other SMTP and see what happens. BTW your SMTP conversation should start with a 'HELO' or 'EHLO'. Paul

        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