PHPBuilder - EZEmail



RSS Twitter
Snippets Http

EZEmail

by: Steven Chalker
|
January 8, 2002

Version: one point oh

Type: Sample Code (HOWTO)

Category: HTTP

License: GNU General Public License

Description: Gets email from user and server



<?php
$user = "steve";
$mailserver = "pop.mail.stevenchalker.net";

// GET THE RESULT
$result = "$user"."@"."$mailserver";
$result = str_replace("mail.","",$result);
$result = str_replace("pop.","",$result);
$result = str_replace("imap.","",$result);
// Output: steve@stevenchalker.net
// PRINT THE RESULT
echo $result;
?>
<!--
-Steven Chalker
steve@stevenchalker.net if any errors occur,
http://www.stevenchalker.net
-->

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Steven Chalker

Comment:



Comment:

(Maximum characters: 1200). You have characters left.