I was working an issue with a Microsoft Edge Transport server where the content of the email was getting truncated after 6 lines. I was able to create a test and get show the delivery of the message through the Edge server to the destination mailboxes. But My test did not include the attached file of the messages that were failing. as the file was a really small csv I took up the challenge of generating the email with an attachment through a telnet session.
Steps:
Get the csv attachment.
Generate the mime for the attachment
Modify the text of the telnet session to generate the message
Check the results.
I created a small csv using a text editor
Company,Address,City,State,Zip
CareWorks Technologies,,Dublin,Ohio,43016
CTG,55 Public Square,Cleveland,Ohio,44113
"State Industrial Products, Inc.",3100 Hamilton Avenue,Cleveland,Ohio,44114
"Finast Supermarkets, Inc.",17000 Rockside Road,Maple Heights,Ohio,44137
Q29tcGFueSxBZGRyZXNzLENpdHksU3RhdGUsWmlwDQpDYXJlV29ya3MgVGVjaG5vbG9naWVzLCxEdWJsaW4sT2hpbyw0MzAxNg0KQ1RHLDU1IFB1YmxpYyBTcXVhcmUsQ2xldmVsYW5kLE9oaW8sNDQxMTMNCiJTdGF0ZSBJbmR1c3RyaWFsIFByb2R1Y3RzLCBJbmMuIiwzMTAwIEhhbWlsdG9uIEF2ZW51ZSxDbGV2ZWxhbmQsT2hpbyw0NDExNA0KIkZpbmFzdCBTdXBlcm1hcmtldHMsIEluYy4iLDE3MDAwIFJvY2tzaWRlIFJvYWQsTWFwbGUgSGVpZ2h0cyxPaGlvLDQ0MTM3DQo=
telnet 10.0.0.10 25HELO lesley.mycompany.comMAIL FROM: <lesley@mycompany.com>RCPT To: <lesleyphillips@yahoo.com>DATAsubject: TLX21MLC1 : PCC LOADER JOB COMPLETEDMIME-Version: 1.0Content-Type: multipart/mixed; boundary=border--borderContent-Type: text/plainA short list of companies I've worked at-Lesley--borderContent-Type: application/octet-streamContent-Transfer-Encoding: base64;Content-Disposition: attachment;filename="Companies.CSV"Q29tcGFueSxBZGRyZXNzLENpdHksU3RhdGUsWmlwDQpDYXJlV29ya3MgVGVjaG5vbG9naWVzLCxEdWJsaW4sT2hpbyw0MzAxNg0KQ1RHLDU1IFB1YmxpYyBTcXVhcmUsQ2xldmVsYW5kLE9oaW8sNDQxMTMNCiJTdGF0ZSBJbmR1c3RyaWFsIFByb2R1Y3RzLCBJbmMuIiwzMTAwIEhhbWlsdG9uIEF2ZW51ZSxDbGV2ZWxhbmQsT2hpbyw0NDExNA0KIkZpbmFzdCBTdXBlcm1hcmtldHMsIEluYy4iLDE3MDAwIFJvY2tzaWRlIFJvYWQsTWFwbGUgSGVpZ2h0cyxPaGlvLDQ0MTM3DQo=--border--.quit