ryy705 Posted August 20, 2008 Share Posted August 20, 2008 Hello, Is there a way to create new email accounts using php? There must me right? Many sites will give you a mailbox as soon as you register. How do they do it? Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/ Share on other sites More sharing options...
cooldude832 Posted August 20, 2008 Share Posted August 20, 2008 sure you can but the way to do it are specific to your setup and there isn't just a "set up email account generic script" IMAP library might be able to help you. Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/#findComment-621474 Share on other sites More sharing options...
ryy705 Posted August 21, 2008 Author Share Posted August 21, 2008 Sorry, did not find a single imap function that creates a new email account. There is function called imap_createmailbox() but it just creates new folders inside an existing account. I've been googling but haven't found anything yet. There has to be a way. Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/#findComment-621630 Share on other sites More sharing options...
trq Posted August 21, 2008 Share Posted August 21, 2008 Of course theres a way but there are allot of complexities to the problem. Firstly, what mail server are you using and is it configured to handle virtual accounts stored within a database? Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/#findComment-621637 Share on other sites More sharing options...
ryy705 Posted August 21, 2008 Author Share Posted August 21, 2008 I don't know I will ask tomorrow. By virtual account are you referring to email accounts or domains? Is there anything else I should ask? Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/#findComment-621742 Share on other sites More sharing options...
ryy705 Posted August 22, 2008 Author Share Posted August 22, 2008 Kindly give me step by step instructions if possible or at least tell me where to begin. Since I haven't done anything like this before I don't know where to begin. Thank you. Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/#findComment-622628 Share on other sites More sharing options...
cooldude832 Posted August 22, 2008 Share Posted August 22, 2008 If you can't jump into basic php and so forth you are diving in with sharks here. You need to use cURL to login to some sort of panel that allows you direct access to add accounts. And then push the data via POST to it (or what ever methods it uses) Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/#findComment-622724 Share on other sites More sharing options...
ryy705 Posted August 28, 2008 Author Share Posted August 28, 2008 Got it. I thought that there might be some php functions or pear library or some sort of web standard for this. Guess not. Link to comment https://forums.phpfreaks.com/topic/120609-can-i-email-account-through-php/#findComment-627481 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.