Filter löschen
Filter löschen

How safe is it to send email with matlab using sendmail?

1 Ansicht (letzte 30 Tage)
Thomas Chaigne
Thomas Chaigne am 10 Jan. 2019
I'm planning to send several emails via Matlab using the built in sendmail function. I would like to know first if there is any security issue related to the fact that the password associated to the email account that is used has to be stored somewhere in Matlab.
Let's say I first enter my password to send an email and then I "erase" it as following (closing matlab does not reset internet preferences):
pwd = inputdlg('password'); pwd=pwd{1};
setpref('Internet','SMTP_Password',pwd);
sendmail('recipient@someserver.com',subject,body);
setpref('Internet','SMTP_Password','');
I would like to be certain that the password is not stored anywhere else. Thanks in advance.

Antworten (0)

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by