I don't know what's the mail server you are using to send mails. But to receive mails you have to connect to your mail server (through POP or IMAP) and read them. http://www.php.net/imap http://pecl.php.net/package/POP3 http://www.phpclasses.org/browse/package/2.html To send attachments you have to modify mail header accordingly. http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php#attachment Cheers, Laknath --- In php-objects@xxxxxxxxxxxxxxx, nirgun jeet <nirgun_sweet@...> wrote: > our project is email server like yahoo hotmail that can recieve and send emails > I have code that send email but i dont know how to recieve email plz tell me what i should > do. and also how to do attachments