Receive emails in matlab

10 views (last 30 days)
Chris Mondiek
Chris Mondiek on 7 Mar 2011
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)

Sean de Wolski
Sean de Wolski on 7 Mar 2011
You could use
urlread
on a web-based email system. I'd guess there are better ways though. Good Luck!
  1 Comment
Chris Mondiek
Chris Mondiek on 7 Mar 2011
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
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
Walter Roberson
Walter Roberson on 7 Mar 2011
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

Find more on Downloads in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!