# mail() by SMTP on UNIX

- Thread: https://externals.io/message/15391
- Original archive: https://news-web.php.net/php.internals/15391
- Started by Piotr Roszatycki on 2005-03-11T23:23:43+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #15391 — Piotr Roszatycki — 2005-03-11T23:23:43+00:00

URL: https://externals.io/message/15391#15391

Hi.

I was wondered why `mail()` function couldn't use SMTP subroutines. In shared 
hosting environment where can't be used sendmail binary it is an only way.

I've attached my dirty hack. I hope someone would help me to clean up the 
patch.

-- 
 .''`.    Piotr Roszatycki, Netia SA
: :' :    mailto:Piotr_Roszatycki@netia.net.pl
`. `'     mailto:dexter@debian.org
  `
