Sending reports and timestamped file by emailing

버전 1.1.0.0 (764 KB) 작성자: Michael Chan
Illustrates result updates, activity tracking, timestamping and file zipping, tarr'ing via email.
다운로드 수: 944
업데이트 날짜: 2010/11/9

라이선스 보기

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:
1. Better handling of attachment failure, with continuation of report emailing without the attachment.
2. Timestamping of tar files, precision may be in minutes, seconds or in milisecs.

Sample output:
MATLAB:sendmail:CannotOpenFile
Cannot open file "images\fileThatDoesNotExists.bmp".
Email sent without attachment. [attachment Failed]
Email sent.

* Caveat : Illustrative Purposes. Please include your own sender gmail account and password.

If the demo has more elegant presentation, please do not hesitate to suggest and send feedback to author.
Email: promethevx@yahoo.com.

Thank you.

Regards,
Michael Chan JT

인용 양식

Michael Chan (2024). 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
카테고리
Help CenterMATLAB Answers에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Improvement on the newline char in message sent via email.

1.0.0.0