Error while email from vb6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mabubakarpk
    New Member
    • Feb 2007
    • 62

    Error while email from vb6.0

    Hello every one

    I am using winsock 6.0 control in my vb6.0 application to generate email. When I send email the following error occur in error log file on mail server.
    (mail server is MDaemon 6.8.5)


    Code:
    Fri 2007-10-26 15:31:14: <-- HELO 
    Fri 2007-10-26 15:31:14: --> 501 Invalid characters detected
    Fri 2007-10-26 15:31:14: <-- mail from: amer.khan@pdil.com                                
    Fri 2007-10-26 15:31:14: --> 503 Unexpected command or sequence of commands
    Fri 2007-10-26 15:31:14: <-- rcpt to: mohammad.safdar@pdil.com
    Fri 2007-10-26 15:31:14: --> 503 Unexpected command or sequence of commands
    Fri 2007-10-26 15:31:14: <-- data
    Fri 2007-10-26 15:31:14: --> 503 Unexpected command or sequence of commands
    Fri 2007-10-26 15:31:14: <-- From: amer.khan@pdil.com                                
    Fri 2007-10-26 15:31:14: --> 500 What? I don't understand that.
    Fri 2007-10-26 15:31:14: <-- Date: Fri, 26 Oct 2007 15:31:13 -0600
    Fri 2007-10-26 15:31:14: --> 500 What? I don't understand that.
    Fri 2007-10-26 15:31:14: <-- X-Mailer: EBT Reporter v 2.x
    Fri 2007-10-26 15:31:14: --> 500 What? I don't understand that.
    Fri 2007-10-26 15:31:14: <-- To: msafdar
    Fri 2007-10-26 15:31:14: Too many errors encountered
    Fri 2007-10-26 15:31:14: SMTP session terminated (Bytes in/out: 438/352)
    Any one suggest how to get rid from this error,

    Thanx in advance
Working...