New property:

property  XAutoGeneratedReply : Boolean      read  FXAutoGeneratedReply  

            write FXAutoGeneratedReply; {Bjørnar}

The reason for using this is to tell the receiving mailserver that it should 
not answer this email with "I'm on holliday" or similar. Two mailservers could 
send each other mails in definite if no one breaks the loop. So if you are 
sending an autogenerated mail, set this flag to not get a autogenerated mail 

In procedure TCustomSmtpClient.Data;

        if FXAutoGeneratedReply then begin                                   

             FHdrLines.Add('X-Autogenerated: Reply');                        


Regards Bjørnar

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.0/1341 - Release Date: 24.03.2008 

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to