필터 지우기
필터 지우기

I want to send email from a matlab code through Thunderbird. How I can do?

조회 수: 1 (최근 30일)
davide
davide 2012년 11월 17일
I have already sent email from a matlab code through outlook, but now I have changed the mail program with Thunderbird. With outlook I have utilized the following commands, but I don't know what I have to change to make the code working properly also with Thunderbird
h = actxserver('outlook.Application'); mail = h.CreateItem('olMail'); mail.Subject = subject; mail.To = to; mail.ReplyRecipientNames = from; mail.BodyFormat = 'olFormatHTML'; mail.HTMLBody = body;
% Add attachments, if specified. if nargin == 5 for i = 1:length(attachments) mail.attachments.Add(attachments{i}); end end
% Send message and release object. mail.Send; h.release;
I want to thanks a lot people that con help me in solving this problem.
  댓글 수: 1
Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 17일
Why send email through outlook or thunderbird, since you can do it directly from Matlab?

댓글을 달려면 로그인하십시오.

답변 (1개)

davide
davide 2012년 11월 21일
Because I utilize Thunderbird as mail program and I want to have a copy of the message that I send with matlab also in Thunderbird.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by