How to message self anonymously from Matlab?

4 次查看(过去 30 天)
I am working on a machine where several users can log in and use the same account. We all collaborate on same code and use 100% of CPU and GPU at any given time so this arrangement makes sense. However, this makes it hard to use sendmail from Matlab because you do not want to enter your credentials for any mail service into any script or config settings. You could try to use sendmail as an anonymous server but most email hosts will bounce you because they think you are spam.
So this leads to my question. Has anyone figured out a good reliable way to message self from Matlab without poroviding any security credentials? This could be a text message or a phone call or any other means of messaging, so long as it is highly likely to go through and does not require security credentials. I just want to get updates on how my multiple day simulations are running without logging into the machine and without giving away my security credentials to anyone else who might log into the box.
  2 个评论
Michael
Michael 2022-12-11
The first code lines in that m-file are:
% YOU NEED TO TYPE IN YOUR OWN EMAIL AND PASSWORDS:
mail = 'matlabsendtextmessage@gmail.com'; %Your GMail email address
password = 'sendtextmessagematlab'; %Your GMail password
In other words, I would need to provide security credentials for this to work. That's something I can do already with e.g. sendmail. My question was specifically how to send a short notice anonymously.

请先登录,再进行评论。

回答(1 个)

Abhijeet
Abhijeet 2023-9-4
Hi Michael,
I can understand that you want update from your simulation on a different system without sharing your credentials. For doing you can create a SQL server where the timely update progress from MATLAB is stored and then you can access the same database by connecting to the same server from different system
I hope this information was helpful!

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by