How-to articles, tricks, and solutions about EMAIL

How to Configure XAMPP to Send Email from Localhost with PHP

Here is a short tutorial that will assist you in configuring XAMPP to send email from localhost using PHP.

How to Create Mailto Forms

Learn about how to create a Mailto forms with examples. See also the advantages that Mailto forms can have.

How to Create Mailto Links

Learn about how to create a Mailto link in HTML step by step with examples. See also the downsides that Mailto links can have.

How to Send a PHP Email via SMTP with the PEAR

In this short tutorial, we are going to show you how to use the PEAR option to send emails via SMTP accurately. Just follow the steps below.

How to Send Email via PHP

PHP mail is a built in PHP function that is used for sending emails from PHP scripts. Check out our snippet to learn how to send email via PHP accurately.

How to to send mail using gmail in Laravel?

To send email using Gmail in Laravel, you can use the built-in Swift Mailer library.

How to Use the filter_var() Function in PHP

Let’s dive deeper into the world of PHP. Here, we are going to discover the filter_var() function. Let’s see for what purposes it can be used in PHP.

How to Validate an E-mail Using JavaScript

Read this tutorial and learn a fast and easy solution to the issue of validating an email using JavaScript. Also, you will read about what the email is.

How to Validate an Email with PHP

This tutorial explains how to validate an email using the PHP arsenal. Check out the examples of how to do that with the help of a PHP function and regex.

How validate unique email out of the user that is updating it in Laravel?

In Laravel, you can use the unique validation rule to validate that an email address is unique when a user is updating their account.

New lines (\r\n) are not working in email body

In order to include new lines in the body of an email sent with PHP, you will need to use the proper new line characters.

PHP Mail, CC Field

In PHP, the "CC" field can be included in an email using the "mail" function by adding a "CC" header to the additional headers parameter.

php.ini & SMTP= - how do you pass username & password

To pass a username and password to the SMTP server in the php.ini file, you can use the following format:

PHPMailer - SMTP ERROR: Password command failed when send mail from my server

This error message typically indicates that the SMTP server is unable to authenticate the provided login credentials for the email account being used to send the email.

phpmailer - The following SMTP Error: Data not accepted

The "SMTP Error: Data not accepted" is a common error message that can occur when using the PHPMailer library to send email messages.

Send email with a template using php

To send an email using PHP, you can use the "mail()" function.

Sending Email in Android using JavaMail API without using the default/built-in app

To send an email in Android using the JavaMail API without using the default/built-in app, you can use the following steps:

Trying to get Laravel 5 email to work

To get Laravel 5's email functionality to work, you will need to configure your SMTP settings in the .env file, located in the root directory of your Laravel project.

What is the best Java email address validation method?

There are a few different approaches you can take to validate email addresses in Java. Here are some options: