> For the complete documentation index, see [llms.txt](https://gitbook.seguranca-informatica.pt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.seguranca-informatica.pt/cheat-sheet-1/services-by-port/25-smtp.md).

# 25 - SMTP

```
perl swaks.perl --ehlo "target_mx" --from "target_from_email" --to "target_email" --header "Subject: Test" --body "hey, let's go party!" --attach "/home...zip" --attach-name "lo.zip" --server "target_mx"
```

{% embed url="<https://jetmore.org/john/code/swaks/files/swaks-20201014.0/swaks>" %}
