Welcome to WebmasterWorld Guest from 54.196.214.35

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Auto Generate POP3 Accounts using PHP & Plesk/Horde

     
7:50 pm on Dec 11, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 11, 2004
posts:41
votes: 0


I'm building a site where advertisers can buy leads for widgets. I was running into problems when trying to have my site use php to send the email to advertiser@aol.com.

The best way I have found to make sure that all the leads reach the advertiser is to give them a POP3 account that redirects to their real email address. e.g. the advertiser would have an account 103-joeblow@MyDomain.com that redirects to advertiser@aol.com. That seemed to get me past junk mail filters, and all the other issues I was having, but created a new problem.

Now everytime I sign up an advertiser I have to manually create them a POP3 account, which granted takes very little time, but it isn't exactly immediate access for the advertiser.

So finally my question: Is there a way that I can auto generate POP3 accounts using php for my VPS that is plesk using horde for email?

8:44 pm on Dec 12, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 12, 2005
posts:5966
votes: 0


I think that getting through to the aol accounts would be better. You may require some tweaking of your emails first.

Here's a recent thread [webmasterworld.com] on the issue.

11:34 pm on Dec 12, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 11, 2004
posts:41
votes: 0


So you're saying you don't like my crazy method of doing things? Thanks for the link, I'll see if I can make things work that way... I am still curious about auto generating accounts if anyone knows how.
2:03 am on Dec 13, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 12, 2005
posts:5966
votes: 0


I'm not too familiar with creating the accounts to begin with. What means do you use to make them manually? I would look there first, and then see how you can incorporate that into php.
4:12 am on Dec 13, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 11, 2004
posts:41
votes: 0


To make accounts manually I just use the plesk control panel. As far as I know, PHP can't duplicate good ol' point and click on a GUI.
5:06 pm on Dec 13, 2006 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


Sure it can, and plesk itself is written partly in PHP. What you really need to know is how to setup the mailboxes on your server, then you simply use PHP or other server-side processes to automate the task. That is what plesk is doing ;)
6:15 pm on Dec 13, 2006 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 17, 2006
posts:195
votes: 0


Hi,
I found a Drupal project for auto create mail accounts, it works for cPanel, but maybe you can convert it to be useful in Plesk.

[drupal.org...]