# Preparations
1. open `/index.php` file for editing
2. replace the `$application->Run();` line with this code (replace e-mails with different working e-mails you can access):
```
lang=php
$application->emailUser(
'TEST.EMAIL',
null,
array(
'to_email' => 'email-one@dev-domain',
'use_custom_design' => 1,
'message' => '',
)
);
$application->emailUser(
'TEST.EMAIL',
null,
array(
'to_email' => 'email-two@dev-domain',
'use_custom_design' => 1,
'message' => 'non-empty',
)
);
```
3. save changes
4. login to the Admin Console
5. go to the {nav Website & Content > E-mail Templates} section
6. create a new e-mail template with this data:
* Template Name: TEST.EMAIL
* Subject: Empty email
* HTML Version: <inp2:m_Param name="message"/>
# Test Plan
# visit the `/index.php` file from the Web Browser to trigger the e-mail sending code
# login to the Admin Console
# go to the {nav User Management > Mailings} section
# press the `Process Queue` toolbar button on the `Email Queue` tab
# confirm, that:
* e-mail to the `email-one@dev-domain` e-mail wasn't sent
* e-mail to the `email-two@dev-domain` e-mail was sent and that it was the only recipient of that e-mail