Join us

heart Updates from Mailtrap..
Story
@nataliiapolomkina shared a post, 2 years, 1 month ago
Mailtrap

PHPMailer Guide

When it comes to adding email functionality to your PHP app, PHPMailer class is the winning option. It is compatible with most of the PHP frameworks (Laravel or Symfony are based on the SwiftMailer library, though, but it is still possible to use PHPMailer as well.) PHPMailer provides powerful functionality to create HTML emails with attachments and send them to multiple recipients via SMTP or a local webserver. Learn how to easily use all these options in this tutorial! 

PHPMailer Guide
Story
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

Sending emails via serverless 3rd parties in React Native

Learn how to send emails with React Native using Linking API and serverless 3rd parties.

Story
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

Sending Emails with Node.js

Mailtrap's very own sending package! Mailtrap provides both sending and testing functionality, and we always aim at saving everyone time and ...

Story
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

PHP Email Contact Form

We explain how to build a contact form in PHP, step-by-step. Email validation, reCaptcha, saving inputs to a database, and, of course, ...

Story
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

Email deliverability: Everything you need to know

Learn more about email deliverability: problems, metrics, tips for improving it.

email deliverability.png
Story Trending
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

How to Set up Nodemailer with Gmail

How to use Nodemailer with Gmail? Installing Nodemailer; Configuring a Gmail account; Setting up a transporter object and a message to be sent.

Story
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

How to Send Emails in PHP?

A detailed guide on PHP mail sending options with examples of using the built-in mail function(), PHPMailer, Pear mail, and Swift Mailer.

Story
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

Sending HTML email with images in Java

To learn about Jakarta Mail basics, sending messages via an SMTP server and more options to consider head to the original tutorial about how to send email with attachement in Java on Mailtrap Blog.

To send an HTML email, you should perform the same steps as for sending a simple text message, with only SendHTMLEmail class instead of just SendEmail. Also, you need to set content to the MimeMessage.setContent(Object, String) and indicate text/html type.

To add an image to your HTML email in Jakarta Mail, you can choose any of three regular methods: CID, base64 image, or linked image.

To embed a CID image, you need to create a MIME multipart/related message:

Story
@sofiatarhonska shared a post, 2 years, 2 months ago
Mailtrap

How to Improve Your Emails With CSS?

For a lot of folks out there, HTML on its own is boring, after all, nothing is exciting when there is no color in it. Now add some Cascading Style Sheets (CSS) either to your web page or an email, and things are colorful, engaging, and begin to stand out. 

But dealing with HTML email building that has CSS in it can be tricky due to the way email clients “read the code”. In this article, we will go over the main principles of using CSS in emails and take a look at some examples that demonstrate how to do so.

Email-Headers-—-копия-03-1040x540.png