RE: [PHP] forwarding from virtual email account to real email account
| From: | Albert | Date: | Wed, 25 Jan 2006 13:18:38 +0000 |
| Subject: | RE: [PHP] forwarding from virtual email account to real email account | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229225@lists.php.net to get a copy of this message | ||
Binay wrote:
> Is it possible that we create a virtual email account(no physical
> existence) e.g abc@example.com which will be associated with a real email
> account e.g. real@yahoo.com so that if any body sends the email to virtual
> email account abc@example.com will be automatically forwarded to the real
> email account real@yahoo.com. Is it achievable using PHP ? Please throw
> some light as this becoming a major requirement of my client.
What you described here is called MAIL FORWARDING or often MAIL ALIASSING.
It is a functionality of your mail server.
Contact your ISP for assistance on setting this up. If you run your own mail
server look at the docs.
If you want to use PHP for this (not recommended because the mail server can
do it already) you need to write a script which check email on one account
and then email it to the other accounts.
Albert
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.22/239 - Release Date: 2006/01/24