How do I modify the content by adding an output an email in sendmail()
조회 수: 1 (최근 30일)
이전 댓글 표시
So i been using sendmail() to try to send an email with matlab, but are there any way that I can put the output of one function in the content of the mail
for example
sendmail('myemail@gmail.com','SMART PARKING SYSTEM','Your license ... has resgister at: ') ;
are there anyway that the "your license is..." can be added the output of the previous function
please help
thank you
댓글 수: 0
답변 (1개)
Image Analyst
2022년 5월 14일
Make it a character array
str = sprintf('Your license ... has register at: %s', whatever) ;
sendmail('myemail@gmail.com','SMART PARKING SYSTEM', str) ;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!