Sending reports and timestamped file by emailing
版本 1.1.0.1 (761.7 KB) 作者:
Michael Chan
Illustrates result updates, activity tracking, timestamping and file zipping, tarr'ing via email.
main executing reference usage:
[1] usage_send_mail.m
Illustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.
[2] usageTar_unTarFiles.m
Illustrates 'zipping and unzipping' of tar files. Timestamping facility is also provided. The timestamp is also adapted for files with multiple extensions, ie. *.tar.gz, etc.
----------------------------------------------------------------------------------
The objective is to illustrate updates of matlab results activity tracking via email. The sub-objectives subsume illustrations of utilities for timestamping and file zipping/ tar'ing.
This subsumes an enhanced version of matlab gmail'ing (http://www.mathworks.com/support/solutions/data/1-3PRRDV.html). The enhancement includes:
ss1. Better handling of attachment failure, with continuation of report emailing without the attachment.
ss2. Timestamping of tar files, precision may be in minutes, seconds or in milisecs.
Sample output:
ssMATLAB:sendmail:CannotOpenFile
引用格式
Michael Chan (2025). Sending reports and timestamped file by emailing (https://www.mathworks.com/matlabcentral/fileexchange/29183-sending-reports-and-timestamped-file-by-emailing), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
在 Help Center 和 MATLAB Answers 中查找有关 Web Services 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!