File Exchange

image thumbnail


version 1.4 (3.13 KB) by

Sendmail GUI



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.

Comments and Ratings (7)

Marko Neitola

Marko Neitola (view profile)

An initialization script for gmail users can be found at:

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


naveen (view profile)

Can anyone suggest me the smtp server for gmail??


where should we include port number in matlab??


Bandar (view profile)

Thank you

Marko Neitola

Marko Neitola (view profile)

Aurelien, thank you for the bug report.

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

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

Marko Neitola (view profile)

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...



Fixed a bug causing the attachment listbox to vanish.
Fixed error messages due to empty mail prefs


Error messaging improved for empty subject, invalid address.
Fixed cancel-button bug in the sender information dialog.
The look is now less hideous, and now it is easier to change the background and foreground color.


Added a panel for sender information.

MATLAB Release
MATLAB 7.3 (R2006b)

Inspired: sendmailgui

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today