I am using the Indy SMTP and Message components in D2006. When I set:
idMsg.From.Address := "validaccount@companyname.com";
the line:
Message-Id: <200703011436208.SM00344@MySystemName>
gets inserted in the email body at the point of the first Linefeed/CarriageReturn. MySystemName is my development system's machine name. If I do not specify a from address (which I will have to when the app goes live) the line does not appear.
The line is not in the body field the instant before sending, but appears in the body at receipt time.
There are no attachements, but the spec calls for some in the future.
I am using default fields in the Indy components except as necessary to send the email. The email is not being bounced off of an Exchange Server, but directly off a SMTP host at our ISP. In any case, the email arrives, but with this annoying extra line in it.
Any help would be appreciated.
idMsg.From.Address := "validaccount@companyname.com";
the line:
Message-Id: <200703011436208.SM00344@MySystemName>
gets inserted in the email body at the point of the first Linefeed/CarriageReturn. MySystemName is my development system's machine name. If I do not specify a from address (which I will have to when the app goes live) the line does not appear.
The line is not in the body field the instant before sending, but appears in the body at receipt time.
There are no attachements, but the spec calls for some in the future.
I am using default fields in the Indy components except as necessary to send the email. The email is not being bounced off of an Exchange Server, but directly off a SMTP host at our ISP. In any case, the email arrives, but with this annoying extra line in it.
Any help would be appreciated.