# Emails not working

### Sending a Test Email

You can use the following PowerShell script from the Keyfax web server to send a test email. You would need to connect to the Keyfax web server via remote desktop and launch PowerShell as an administrator on the web server. You can then paste in the following script to generate a test email...

```
Send-MailMessage -From noreply_keyfax@omfax.co.uk -To you@yourcompany.co.uk -SmtpServer "SERVERNAME" -Subject "Test Local" -Port 25
```

You will of course need to replace the "SERVERNAME" with your real Keyfax web server name and "<you@yourcompany.co.uk>" with your real email address.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/general/issues-and-solutions/emails-not-working.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
