GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dmascali/MatlabMailFeedback: Receive mail feedback from Matlab!

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
readsec.m
readsec.m
 
 
sendbeacon.m
sendbeacon.m
 
 
sendmsg.m
sendmsg.m
 
 
sendsetup.m
sendsetup.m
 
 
sendstatus.m
sendstatus.m
 
 

Repository files navigation

Matlab Mail Feedback

A set of functions for receiving mail feedback from Matlab.

  • sendstatus(to,verbose)
    sends the exit status of a script/function to the mail addresses (specified in to). In case of failure the function that caused the error will be attached.

  • sendmsg(to,subject,message,attachments)
    uses matlab sendmail function to send mail pre-compiled with a set of useful info (works as matlab sendmail).

Installation

  1. Add the folder to you MATLAB path.
  2. Configure sendsetup.m with the info of the email address from which you wish to send matlab feedback
  • if you use a gmail account, you only have to fill the fields sender_mail and password
  • if you use another mail service, you will also have to change the SMTP parameters.

Usage

sendstatus(to,verbose) must be placed as the FIRST line of code of a matlab script/function.

  • to is either a string specifying a single address, or a cell array of addresses.
  • verbose (optional): [0 1 2]. Selecet the "verbosity" of the attachments in case of failure:
    - 0: no attachment
    - 1: sends just the file that caused the error (default)
    - 2: sends all the stacked files

sendmsg(to,subject,message,attachments) works as matlab sendmail (see: https://it.mathworks.com/help/matlab/ref/sendmail.html).

About

Receive mail feedback from Matlab!

Topics

elapsed-timeexitcodeexitstatusmailmatlab-feedbackreportsendsendmailsendmsgsendstatus

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.