3 users online. Create an account or sign in to join them.Users
How would I post to my Symphony site via email?
This is an open discussion with 7 replies, filed under General.
Search
Have not done it, but would be curious on how it is it done!
I would have a look at Postmark Inbound: http://postmarkapp.com/inbound
Haven't used it within Symphony yet, but have been thinking about plugging it in to do this sort of thing.
I remember studying something about this in the past, because I wanted to write an extension for it, but I don't exactly remember what stopped me (beside time, effort and ignorance on the matter...)
For sure it involved using a cronjob to retrieve emails from php from a "secret" email address, getting subject, body, attachments and play with them, I will look in my digital junkyard to see if I can find some more info/WIP
For sure it involved using a cronjob to retrieve emails from php from a "secret" email address
That's right. Redmine does it by having a shell script that is CRON run every x minutes to retrieve email from an SMTP/POP server.
It wouldn't be as simple as installing an extension and enabling it I'm afraid, there would be a lot to set up in the background. The script would need to POST the data to a Symphony page too.
I'd love to see it working...
westynz's suggestion of Postmark Inbound is an excellent one. Instead of having to poll an inbox (POP3 or IMAP), read new messages and parse out the text (a horrible job), Postmark will send a callback to your own script with the email already parsed as a structured JSON object. So all you need is a simple script to listen for this post, interpret the JSON object and create a new Symphony entry from it , and configure Postmark with the script URL.
Gold. Thanks Nick.
Thanks for the explanation, Nick. I sometimes forget to justify my statements/suggestions, and they mean nothing without it!
Create an account or sign in to comment.
I would like to implement the ability to post to my Symphony site via email. Has someone in the Symphony Community already done this with a Symphony site. If so, would you mind pointing me in the right direction on how to approach something like that.