This is the code I use to send emails:
Sometimes the text I use for the body causes the
contents of the attached file to be appended to the body instead of attached as a separate file.
I send the emails to an Outlook account and noticed that there is "<end>" appended to the body when it works correctly which I did not place there.
Any help would be greatly appreciated ...