You probably don't need a mail server for an internal messaging system, except to handle sending notifications of new messages if that's in your requirements.
By the looks of your tables you do seem to be building an MTA (http://en.wikipedia.org/wiki/Message_transfer_agent). If that's what you want to do then you need to understand that it's not a simple thing to do well. If you want a mail server like gmail or ymail, why not use Google Apps. You can use your own domain name and benefit from the interface and infrastructure Google have in place for gmail: http://www.google.com/a -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On Thursday, 17 March 2011 at 16:30, Negin Nickparsa wrote: > can i have an email server? > we have 4 example:u...@dpaco.net > or not? > just we must have an emails like gmail n ymail? > if i can have email server how i can code it > > i can have tables like this: > > CREATE TABLE domains ( > domain varchar(50) NOT NULL, > PRIMARY KEY (domain) ) > TYPE=MyISAM; > > > > CREATE TABLE forwardings ( > source varchar(80) NOT NULL, > destination TEXT NOT NULL, > PRIMARY KEY (source) ) > TYPE=MyISAM; > > > > CREATE TABLE users ( > email varchar(80) NOT NULL, > password varchar(20) NOT NULL, > quota INT(10) DEFAULT '10485760', > PRIMARY KEY (email) > ) TYPE=MyISAM; > > from where i can have email server? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php