Send HTML formated Email and Attachment
- Solution to some email related issues recently posted on the forum (SMTP account problems, removing "Expert Adviser", HTML formatted emails)
- Indicators with alerts/signal
- Adding CSS coode to MQ4 "SendMail" body.
I like to send an html formated email with attachment from MQL, how to do that?
The built-in email client does not allow attachments and there is no way to change the email header from within MQL4. So even if the email body is HTML, some mail clients won't recognize it as such (they will just show all the tags, etc.).
is there any external dll to do this?
Search the forum... There should be dll's that do this.
Altough this is not a very new post the problem might be still for some people. A possible solution would be to use this external library (open source):
It allows attachments, SSL/TLS connections, multiple recipients at once (to,cc, bcc) and HTML body.
Cheers
- stevenengland
- github.com