10-19-2021, 05:52 PM
(10-19-2021, 01:59 PM)scampsmith Wrote: Ooops! Spoke too soon! Then email looks better, but now the file is not actually transmitted. Even looking at the 'raw content' shows no MIM encoding, just the headers. I'm sure I'm still missing a step, since the original code I was using actualy did include the MIM encoding.
Can you be more specific? What does the raw email actually look like? Both in what TIdMessage actually generates (which you can get by calling TIdMessage.SaveTo...(), or by hooking up one of the TIdLog... components to the TIdSMTP.Intercept property), and what you see in the email client.
Also, since you are not providing an HTML-encoded version of your Memo content, why are you sending an HTML email at all? You could just send a plain-text email, ie by using TIdMessageBuilderPlain instead of TIdMessageBuilderHtml.
Also, please tell me you didn't post your server's actual login credentials to a public forum???
![Cry Cry](https://www.atozed.com/forums/images/smilies/cry.png)