How-to articles, tricks, and solutions about EMAIL
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.
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.