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?

Answers (2)

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

1 Comment

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

Sign in to comment.

Walter Roberson
Walter Roberson on 7 Mar 2011

0 votes

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 Comment

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.

Sign in to comment.

Categories

Products

Asked:

on 7 Mar 2011

Community Treasure Hunt

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

Start Hunting!