Product

Send email with MATLAB

MATLAB is a very powerful engineering tool for simulations and computations, but did you know you can use it for email as well?

Hermes looks at a screen with a bin full of emails

PUBLISHED ON

PUBLISHED ON

MATLAB is a very powerful engineering tool for simulations and computations.  For those who use it - and use it extensively - you know the power that it can offer and basically how awesome it is.

So, how do you send email through MATLAB?  First thing’s first -- sign up for a Mailjet account here to access Mailjet’s SMTP server.  After signing up and verifying yourself, head over to your SMTP settings.  Here, you will find your username (api key) and your password (secret key) which you input into ‘my_username’ and ‘my_password’, respectively.  Lastly, change ‘my_default_email_address’ to the email address tied to your existing Mailjet account (if you just signed up, use the one you signed up with).

And that’s that!  Customize the email recipient, the subject line, and the body of the email in the ‘sendmail’ function.

P.S. If you wish to use something other than Mailjet, you can use any SMTP service - Gmail, Hotmail, Yahoo, etc.  Just fill in the aforementioned settings with the appropriate values from the SMTP service you wish to use.

By Tyler Nappy

Popular posts

Hermes rides a firework next to a Goddess in front of a night sky with more fireworks

Top email marketing trends for 2022

To the outsiders, it can sometimes feel like email hasn't changed that much since it was created. Maybe this is why some are so persistent in...

Read more

Hermes on a moped delivering mail to a mailbox

Reducing email’s carbon footprint

When it comes to protecting our planet, every step toward cleaner practices – small and big – counts. So, what if we told you that emailing, as clean and green as it seems...

Read more

Mother's day gift for Hera

Marketing calendar 2024: Dates you shouldn’t miss this year

We finally got through 2023 (phew!) and Q1 is just around the corner. It’s time for you to start scribbling down your New Year’s Resolutions to make sure we start the year with a bang. If you’ve found your way here, we’re guessing that’s because creating a winning...

Read more

It's never been easier to build connected experiences. Start sending with Mailjet today.Get started on your path
CTA icon