julz wrote >>
Is there a way to attach a screenshot to an email . Basically make the WindowScreenShot() function and the SendMail() function work together ?
MT4's built-in email client does not support attachments. There are 2 possible solutions:
- Implement email attachment functionality in a DLL.
- Email via a command-line mailer - executing via ShellExecuteA().
I currently use the 2nd method successfully. A popular, stable and open-source command-line mailer is blat -> https://www.mql5.com/go?link=http://www.blat.net//. You can also add SSL support with a SSL wrapper - I use stunnel -> https://www.mql5.com/go?link=https://www.stunnel.org/index.html/, which is also open-source and stable (this will enable mailing via a gmail account). If u want even more security, u can implement OpenPGP encryption via GnuPG -> https://www.mql5.com/go?link=https://www.gnupg.org// (also a stable open-source project).
Another option is to FTP the attachment via SendFTP() instead of emailing it, but u would need an FTP account for that. From my experience the built-in FTP client is not very reliable, but it works fine for many people and would be much easier to implement.
Cool, I`ll look into this, thanks for the infos .
MT4's built-in email client does not support attachments. There are 2 possible solutions:
- Implement email attachment functionality in a DLL.
- Email via a command-line mailer - executing via ShellExecuteA().
I currently use the 2nd method successfully. A popular, stable and open-source command-line mailer is blat -> http://www.blat.net/. You can also add SSL support with a SSL wrapper - I use stunnel -> http://www.stunnel.org/, which is also open-source and stable (this will enable mailing via a gmail account). If u want even more security, u can implement OpenPGP encryption via GnuPG -> http://www.gnupg.org/ (also a stable open-source project).
Another option is to FTP the attachment via SendFTP() instead of emailing it, but u would need an FTP account for that. From my experience the built-in FTP client is not very reliable, but it works fine for many people and would be much easier to implement.
hi gordon
I'm desperate
I have long sought the solution and still can not find it
you could help me?
could you give more details? a code sample. etc?
sorry for my English
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
Just a quick question
Is there a way to attach a screenshot to an email . Basically make the WindowScreenShot() function and the SendMail() function work together ?
cheers,
-J