Author Topic: E mail error code 501  (Read 10597 times)

peterh_DK

  • Newbie
  • Posts: 37
    • View Profile
E mail error code 501
« on: February 23, 2006, 01:22:32 PM »
I have purchased a T110MD+49 + RTX and got it up an running on the control side but when i send Email through TLServer Version 2 I have encountered 2 problems:

A function is programmed as follows
print#1 "<EMAIL Tosomebody@xxx.dk>"
print#1 "Sender: peter@xxx.dk"

   Data_string
   Data_string
   Data_string
   Data_string
print#1 "</>"

It works fine and the mail is sent and is received in Outlook.
But the receiver cannot see who it is addressed to. The "TO" field simply states "Undisclosed recipients"  I would like the "TO" field to be filled in. Can that be done?

Secondly the TL servers reports a Syntax  Error 501  indicating a problem in the From address
Why is this?

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:E mail error code 501
« Reply #1 on: February 23, 2006, 06:52:36 PM »
Error 501 simply states that your SMTP server does not like the parameters you provided in your conversation with it.  It could be because you did not provide the subject?? Perhaps you may like to find out from your ISP what the SMTP server is expecting and provide all the information it needs. When we send the example email send program we receive the complete email with To:, From: and Subject: all intact.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

peterh_DK

  • Newbie
  • Posts: 37
    • View Profile
Re:E mail error code 501
« Reply #2 on: February 24, 2006, 02:28:15 AM »
Thanks for the quick info. I have provided a subject line - just forgot to put it in the question. But I'll try using a different mail server and see if that helps