File Exchange

image thumbnail


version (3.13 KB) by Marko Neitola
Sendmail GUI


Updated 30 Sep 2010

View Version History

View License

A simple and convenient GUI for sending e-mail. Supports multiple recipients and attachments. It is basically a GUI front-end for sendmail-command.

Cite As

Marko Neitola (2021). SendMailGUI (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Marko Neitola

An initialization script for gmail users can be found at:

I'm quite sure you only need to run it once.


Can anyone suggest me the smtp server for gmail??


where should we include port number in matlab??


Thank you

Marko Neitola

Aurelien, thank you for the bug report.

I also noticed that empty mail prefs might cause an error message (fixed).

Aurelien Queffurust

You should add the value to one in the callback perform_clear_attach as follows :
set(hClearAttach,'Enable','off','value',1) otherwise your listbox can disappear.

- attache 2 files
- highlight the second file attached in listbox
- click clear attachments
- > your listbox has disappeared and you cannot add anymore attachment
The warning thrown is:
Warning: multi-selection listbox control requires that Value be an integer within String range
Control will not be rendered until all of its parameter values are valid
- attach a file

Marko Neitola

Thanks Nathan for comments. I guess most people prefer gray background. In the latest version the colors (bg/fg) are easy to customize.

Nathan Greco

Just an aesthetic note: The color is Terrible. Choose something less intrusive...

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: sendmailgui

Community Treasure Hunt

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

Start Hunting!