User can send email with a varible (optional). Variable output also can add content (optional).
-
Edit 'config.dat'.
-
Set function to matlab path.
-
Call function with:
- mail_list: Two type input:
- If there are multiply adress use cell array ({'mail_1','mail_2',......}).
- If there is only one adress use string ('test@mail.com').
- header: Header of e-mail.
- content: Content of e-mail.
- variable: Variable that u want to send as attach.mat (optional- if u dont use send without attach)
- addcontent: True-Add , False - Only send as attachment.
- mail_list: Two type input:
Function return logical true or false.