How to open an email window by clicking on a button

2 visualizaciones (últimos 30 días)
I'd like to know if there's a way to open a std email window by clicking on a Push Button... I'd like to set it like an email-link...
Can anyone help me? Thanks you all!
  2 comentarios
Fangjun Jiang
Fangjun Jiang el 2 de Dic. de 2011
What is 'a std email window'? As far as I know, there are dozens of application that can handle email.
Jethro
Jethro el 2 de Dic. de 2011
I want to set a Push Button for sending email... I found the sendmail function, but I don't know how to put it in my code... any ideas?

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 2 de Dic. de 2011
See the documentation for web()
web mailto:email_address
uses your system browser to send mail.
(It doesn't work for me, but I am not working on Windows and I haven't configured email on the system I run MATLAB on.)
  1 comentario
Jethro
Jethro el 3 de Dic. de 2011
I inserted the code in my callback, setting it as you wrote, and it works! I'm using Windows and it opens MS Outlook!
Thanks so much!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by