I've done it using cpanel (quite easy actually), and from some googling it seems possible with plesk too. Just search for "<your control panel name> pipe email to script".
With #1, you can use php imap extension, which lets you access both pop and imap mailboxes. Adam leo wrote: > Thanks, I'd assumed #1 was the only option, but #2 sounds interesting. > Do you have any pointers on how to set up the email account? I don't > know whether it'll be possible using shared hosting. > > Regarding #1, do you have any pointers for the script? I have no idea > how to programatically access an email account. > > L > > On Feb 19, 10:17 am, Adam Royle<[email protected]> wrote: > >> Depends on your server setup. Two solutions: >> >> 1. Write a script that is called periodically through cron that checks >> an email mailbox for new messages. >> 2. Setup your email account to pipe to a script instead of to a mailbox. >> >> I have used #2 and it works well because the script only runs when it >> needs to. >> >> Either way, once you get the email content you'll need to parse it >> somehow to find the relevant content. I've used the mailparse php >> extension and it works pretty well. >> >> Cheers, >> Adam >> >> leo wrote: >> >>> I'm looking at updating a blog by email - a la blogger& wordpress. >>> >>> Anybody have any ideas about how to go about this? >>> >>> Last time I thought about it I found some protocols and stuff through >>> google, but google seems these days do be a bit chaffy and I can't >>> remember what the protocol was. >>> >>> Anyway, it seems to me that protocol isn't important, it's how to get >>> at the email from the blog script. >>> >>> Anyone? >>> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
