vhost in mail
| From: | Alexander Windbichler | Date: | Mon, 01 Nov 2004 17:02:54 +0000 |
| Subject: | vhost in mail | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-13674@lists.php.net to get a copy of this message | ||
Hello,
in the phpinfo() I can find (apache2handler) the entry: "Hostname:Port",
which displays the vhost you are running the script from.
In [phpsources]/sapi/apache2handler/php_functions.c I found the source. Now
I want to display the vhost in every mail, which is sent by php. I know that
the source is in [phpsources]/ext/standard/mail.c and I know how to add a
simple text, but I don't know how to insert the vhost.
Can someone help me please?
best regards,
Alex