Receive emails in matlab

I am working on a program where people email the name of a color to a dedicated email account. Matlab would then check the email account and change the color of an attached light to that particular color.
I know that Matlab has a built in sendmail function, but I have not found anything about built in mail checking functionality. I found a few things about using Java, but I am not entirely sure how to do that.
Any ideas?

回答(2 个)

You could use
urlread
on a web-based email system. I'd guess there are better ways though. Good Luck!

1 个评论

It is a web based email system. But how do I pass the username and password to it using urlread?

请先登录,再进行评论。

Walter Roberson
Walter Roberson 2011-3-7

0 个投票

My memory is playing tricks on me; I thought I had answered this just last week, but it looks like it was November. Please see this previous discussion

1 个评论

See http://www.mathworks.com/support/solutions/en/data/1-4EO8VK/index.html?solution=1-4EO8VK for what you need to do to use basic authentication.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by