PaXo Posted September 2, 2008 Share Posted September 2, 2008 is it possible to create a email service (only a simple one) like hotmail... with a send and recieve ?? i no how to do the send but not recieve for example, if i created a username PaXo i would like it to auto create [email protected] so i could recieve them?? thanks! Link to comment https://forums.phpfreaks.com/topic/122387-is-it-possible/ Share on other sites More sharing options...
The Little Guy Posted September 2, 2008 Share Posted September 2, 2008 It all depends on your host. You would need to ask them. My host allows it, I just need to create the email address [email protected], and it will catch all of the emails sent to mysite.com. So, ask you host if they allow for it. Link to comment https://forums.phpfreaks.com/topic/122387-is-it-possible/#findComment-631941 Share on other sites More sharing options...
PaXo Posted September 2, 2008 Author Share Posted September 2, 2008 well i dont have a host yet, i was wondering how easy it is before i buy one thanks for reply though Link to comment https://forums.phpfreaks.com/topic/122387-is-it-possible/#findComment-631944 Share on other sites More sharing options...
The Little Guy Posted September 2, 2008 Share Posted September 2, 2008 I am currently doing the same thing, I am able to send/receive emails. I can send emails with attachments, but I haven't yet got the coding for receiving emails with attachments. Some hosts allow for what is called piping emails, which uses a file called a ".forward" or ".forward.postfix" which can take emails and automatically send them to a PHP file to process them, and if you wanted, save the email to a database. If that method doesn't work, you could create a crontab that will run every minute, to check for new emails, and basically do the same thing, only you will have to use some of PHP's functions to log into your email and check for new emails. And if that way doesn't work, then you could always check for new emails as the user logs in, and after every page reload after that. But I would recommend piping the emails, because it is almost instant, crontab is quick, but it only checks emails at an interval amount, not as they come. Link to comment https://forums.phpfreaks.com/topic/122387-is-it-possible/#findComment-631948 Share on other sites More sharing options...
Guardian-Mage Posted September 2, 2008 Share Posted September 2, 2008 Some hosts allow you to create email accounts easily, others require workarounds such as using the cPanel API. Sending can be done easy enough, and recieving can be done with IMAP functions, as long as your host allows IMAP. To create an email service/program is easy enough, its adding worthwhile features that is the hard part. Link to comment https://forums.phpfreaks.com/topic/122387-is-it-possible/#findComment-631966 Share on other sites More sharing options...
cooldude832 Posted September 2, 2008 Share Posted September 2, 2008 it sounds like a lot of work for someone to do when the built in mailers are acceptable in most cases Link to comment https://forums.phpfreaks.com/topic/122387-is-it-possible/#findComment-631972 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.