Solved

500 5.5.0 Syntax error - line too long

Posted on 2004-10-21
2,885 Views
Last Modified: 2012-06-27
We are using VB .NET code to send out emails.  Occasionally we get one back with the above error.  What does it mean?
0
Question by:rkanter
    5 Comments
     
    LVL 3

    Expert Comment

    by:PLeclair
    In your Windows\System32\logfiles folder you should see a directory for SMTP..
    Find the log that has the date of the error, open the log with notepad and do an edit/find search for "500 " or "5.5.0 "
    You want to find the command that was issued, so it should be on the same line or the one above it just prior to the 5.5.0 error.
    You may have to open IIS or in ESM's Protocols/SMTP branch and augment the details for the logging you are collecting.
    You basically want to add all logging options using w3c format.
    Once you have found the offending command, review your VB code to find the anomaly.

    Thanks
    Paul
    0
     

    Author Comment

    by:rkanter
    I forgot to point out that the email is addressed to several people.  Some get it without a problem.  There error is generated by the recipients email server not by ours.
    0
     

    Author Comment

    by:rkanter
    When it says 'line too long," what line iint the email s it talking about?
    0
     
    LVL 3

    Accepted Solution

    by:
    Generally anything issued in the command...

    Basically an SMTP session start with
    1. HELO or EHLO (extended SMTP)
    2. Then it issues a FROM command when you provide the senders address
    3. Then it issues an RCPT TO: command to designate the recipient, this command will have e-mail addresses in it etc..
    4. Then it should issue a DATA command, followed by the message body..
    5. Then it should issu a QUIT

    So really, the likely places your code is messing up on are either CR carriage returns between commands, or the FROM, RCPT TO or DATA commands.. the EHLO and QUIT commands don't pass any parameters so I doubt those commands would have any relation to the problem..  
    Thx
    Paul
    0
     

    Author Comment

    by:rkanter
    That helps.  I amm going out of town until Monday.  I will let you know what I find.
    Thanks,
    -Ron
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: JavaScript Coding - Massive 12-Part Bundle

    Regardless of your programming skill level, you'll go from basics to advanced concepts in a vast array of JavaScript subjects including Sammy.js, Agility.js, Ember.js, Node.js, jQuery, AJAX, Extjs, AngularJS, Knockout.js, and JSON.

    Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
    Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
    In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    846 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    5 Experts available now in Live!

    Get 1:1 Help Now