Essentially what I\'m trying to do is attach a file to an email I\'m sending out. Simple enough, right? For some reason or another it does not like the following code (presu
You don't seem to populate destination address (in the code sample) and you have your message both in headers (that definitely extends further than headers) and in body…