yolop Posted August 19, 2009 Share Posted August 19, 2009 hi I have doamin for example abcd.com i want with php open mail on my server like: jhone@abcd.com how i do that??? in adition how will i can to read the mail that i get for this mail with PHP thank you aill Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/ Share on other sites More sharing options...
ignace Posted August 19, 2009 Share Posted August 19, 2009 To receive and read inbound e-mails you need PHP to be compiled as a CGI binary and not as an Apache module. You can read more about it at these two resources: http://www.phpclasses.org/blog/package/2/post/1-Process-incoming-email-messages-using-PHP.html http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/index.html Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-901786 Share on other sites More sharing options...
yolop Posted August 19, 2009 Author Share Posted August 19, 2009 no i don't want to incoming email from email. i want with php creat email on my server and read the email that i get for there so first' how can i creat mail on my server and second. hoe i read this mail thank Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-901921 Share on other sites More sharing options...
yolop Posted August 20, 2009 Author Share Posted August 20, 2009 i can't edit so the best way to create mail it is API? i will be happy of someone give my a code that create email on DA in php and is it the best way if i want to ceate many of mail??? and after i will create that mail how can i read to php page the email that the new mail get thank Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902200 Share on other sites More sharing options...
trq Posted August 20, 2009 Share Posted August 20, 2009 To receive and read inbound e-mails you need PHP to be compiled as a CGI binary and not as an Apache module. You don't, you simply need access to php's cli. As for your questions nerya, your not being very clear. Do you already have an smtp and mta setup on the server? Are you able to send and recieve emails on your domain already? What exactly would you like to do? Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902262 Share on other sites More sharing options...
yolop Posted August 20, 2009 Author Share Posted August 20, 2009 yes i can recive and send email from my domain and i have smtp and mta setup on the server Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902400 Share on other sites More sharing options...
trq Posted August 20, 2009 Share Posted August 20, 2009 In that case, its probably the imap extension you want to look at depending again on your actual question. Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902438 Share on other sites More sharing options...
yolop Posted August 20, 2009 Author Share Posted August 20, 2009 In that case, its probably the imap extension you want to look at depending again on your actual question. i don't understant please Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902439 Share on other sites More sharing options...
trq Posted August 20, 2009 Share Posted August 20, 2009 What don't you understand? The imap extension allows you to use the imap & pop3 protocols to connect to remote or local mail servers. I believe this is what your looking for. Pretty hard to tell though from your ever so vague descriptions. But I told you that earlier. Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902463 Share on other sites More sharing options...
yolop Posted August 20, 2009 Author Share Posted August 20, 2009 with imap can i read the email on the email on my server?? do you have any code? Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902468 Share on other sites More sharing options...
trq Posted August 20, 2009 Share Posted August 20, 2009 with imap can i read the email on the email on my server?? Yes. do you have any code? I linked you to the manual. What more do you want? Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902469 Share on other sites More sharing options...
yolop Posted August 20, 2009 Author Share Posted August 20, 2009 with imap can i read the email on the email on my server?? Yes. do you have any code? I linked you to the manual. What more do you want? first thank . i tried to understand how to read the mail on my DA panel but i didn't sucsses i will be happy if you give me a code that read the mail(explode subject email and text) thank Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902499 Share on other sites More sharing options...
trq Posted August 20, 2009 Share Posted August 20, 2009 There are examples all through the manual. If your having trouble, post your problematic code. Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902503 Share on other sites More sharing options...
yolop Posted August 20, 2009 Author Share Posted August 20, 2009 Call to undefined function imap_open() it there any option without imap to read the mail??? Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902602 Share on other sites More sharing options...
trq Posted August 20, 2009 Share Posted August 20, 2009 Did you read the installation section? Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-902887 Share on other sites More sharing options...
yolop Posted August 21, 2009 Author Share Posted August 21, 2009 Did you read the installation section? i am not the menagger of the server so i can't install that is there any option to one of tow server UebiMiau or Squirrelmail without imap UebiMiau or Squirrelmail there are the tow server on my DA thank Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-903252 Share on other sites More sharing options...
trq Posted August 21, 2009 Share Posted August 21, 2009 I can't make any sense of that last post, sorry. Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-903265 Share on other sites More sharing options...
yolop Posted August 23, 2009 Author Share Posted August 23, 2009 i can't install anythin on the server because i am not the admin of the server i looking for another way to read in php the mail from my da panel and i said that my email server in my da panel is squirrelmail and i dont have imap thank Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-904193 Share on other sites More sharing options...
trq Posted August 23, 2009 Share Posted August 23, 2009 squirrelmail is not a mail server, it is merely a web interface to your mail server. I'm not sure what protocol squirelmail uses to read mail but it might help you to take a look through its source. Your basically trying to do the same thing. Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-904198 Share on other sites More sharing options...
yolop Posted August 23, 2009 Author Share Posted August 23, 2009 i don't find the protocol too what i need to do???? Quote Link to comment https://forums.phpfreaks.com/topic/170975-open-email-on-my-server-how/#findComment-904357 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.