Send email with HTML formatting
The default Matlab function sendmail.m is used to send email/text messages from Matlab. However, it is not possible to include HTML formatting in the body to spice up the message. As a solution to this problem I found a post on UndocumentedMatlab.com [Reference-1] which implements this feature. The function sendmail2.m has been modified using the code of Matlab 2016b. An alternative is to use Outlook, see [Reference-2].
Reference 1: https://undocumentedmatlab.com/blog/sending-html-emails-from-matlab
Reference 2: https://nl.mathworks.com/matlabcentral/answers/94446-can-i-send-e-mail-through-matlab-using-microsoft-outlook
Citation pour cette source
Semin Ibisevic (2025). Send email with HTML formatting (https://fr.mathworks.com/matlabcentral/fileexchange/68785-send-email-with-html-formatting), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0 |
