Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 4445
How to send mass mail from WHM
One need to perform below mentioned steps to send mass email to the entire hosted domains owner on that server:

1) Login into WHM.
2) Click on email all users from account functions section.
3) Apply require details as mentioned below:

* From Name:
* From Email:
* Subject:
* Email Contents:

4) Select checkbox against ‘Send Email to Reseller's Customers as well’ to send email to the customers of the reseller accounts.
5) Click on send button to send the mass mail.
Author: UltratechHost - Replies: 0 - Views: 3776
How to send Email using PHP script
PHP Script to send an Email:
One can use the following PHP script for sending an E-mail.


PHP Code:
<?php
$to 
"[email protected]";
$subject "Hi!";
$body "Hi,\n\nHow are you?";
if (
mail($to$subject$body)) {
echo(
"<p>Message successfully sent!</p>");
} else {
echo(
"<p>Message delivery failed...</p>");
}
?>