How to message self anonymously from Matlab?

조회 수: 5 (최근 30일)
Michael
Michael 2022년 12월 11일
답변: Abhijeet 2023년 9월 4일
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