Module to compose,read and reply to emails in Drupal 7 - email

I have a basic set of Drupal 7 installed with PostgreSql.I wanted to implement a module with option to display mail inbox with read and unread mail and an option to compose mail.And all i have to access though API (services).Is their any module available ? The one which suits my need is "Private Message" but not much customization available in that Module.Any example code or recommended learning resources would be appreciated.
Thank you!

Related

Alternative to Sendy for email campaign or any other suggestions

I am using AWS SES to send out mails for campaign. I want to have some user interface where I can draft and send emails to subscribers. Currently I am using the Sendy for this. As sendy is in still development stage, it's not fit for me. Is there any alternative to sendy? Any service which can be integrated for AWS SES? Or can I use workmails for this?
Now Sendy is much more mature and have added some very useful features. Also, many of product features are stable now. You can give this a try, hosting it from EasySendy. You can also integrate Mandrill with Sendy at EasySendy.

How to build gmail chat bot?

I want to build an simple gmail chat bot.
The bot reads the chat messsage of the recipient and responds it..
I have developed the logic for response to the message
but now im stuck with the bot configuration.
How to setup a gmail bot which can receive the message from chat window and give the message to me . and reply my message back to the person in chat ?
note: this question may seem duplicate but i have tried every solution to previous question i am unable to find a complete solution from scratch anywhere.
Hope any when can help me here.
You need to use the Google Talk API. More information can be found here. I have never used it before, but from what I read, you need to have to write your logic in a compatible language to interface with the API and build up from there. Very standard Google API docs, help, etc in the link.
If you know Python there is a library built for this purpose, bot allow developers to quickly and easily deploy bots. I highly recommend you use that. If you don't know Python, there is anoter guide here that explains how to do it with very minimal PHP/Perl code. If you don't know PHP or Perl, there is another resource here that explains how to do it in Node.js. IF you don't know Javascript, here is how to do it in Java.
I don't like publishing links to guides, but the API document should have been enough. These were all found with the Google search term "make a google talk bot".

Programming to Read and Send email

I would like to create a program that does the following:
1. Monitor all emails received at an address that I own, e.g. subscribe#mydomain.com
2. Read the From and Cc fields and insert those email addresses to my database
3. Parse the body of the email to find a certain text, such as a 6-digit registration code (assume I already have the logic to do the parsing)
4. Reply the emails from a template that includes the registration code and some other data retrieved from my database
To make my job easier, I would like to leverage any relevant services out there (maybe SendGrid, apinbox.com, etc.). Ideally all the servers are hosted somewhere in the cloud.
My question: Can you recommend the best way to do the above? You can consider me a total newbie in developing such programs, so please be gentle :-)
I don't know anything about the services you mention but It's fairly easy to write an app to do basic emailing in VB.Net. The built in SmtpClient class makes it easy to send emails, and there's plenty of projects on codeproject.com that shows how to read emails (just search there for POP3). The POP3 protocol isn't very difficult to implement, but it can be a little bit more difficult to handle MIME encoded content, but as I said, the projects at code project should show you that.
However, reading your question more carefully it sounds like you just want to have some automated way of sending out registration codes. If so, it might be worth to check if there isn't already services that'll do that for you. I'd suggest looking into that at some forum for Shareware Developers. One group I've heard of is the Association of Software Professionals, they might have some forum or advice about that.
If you are interested in a hosted service to handle the email parsing and conversion to HTTP POST I would recommend looking at a few like: http://mailhooks.com (free) http://mailnuggets.com (not free, but new and cheap). If you consider yourself a programming newbie, I would consider posting to a simple PHP script to test it out, like this:
<?php
// put the code below in a file at yourwebsite.com/test.php
// and POST your email to it as a test.
$postArr = print_r($_POST,1);
$log = "postLog.txt";
$fh = fopen($log, 'w') or die("can't open file");
fwrite($fh, $postArr);
fclose($fh);
?>
This will log the posted contents to a file called postLog.txt. Some of the mail processing services mentioned above may also have sample code to help out.

Setup incoming emails in WSS 3.0 and configure document library to receive emails

Does anyone have all the steps required to configure incoming email settings in MOSS 2007 including exchange and AD configuration changes? I would also like the steps to configure doc lib to receive emails
Thanks,
Milap
There's a TechNet article that fully describes this.
Next time, you should post this question to serverfault.com for questions around server configuration and troubleshooting. You'll probably get better answers there :-)

Generating an article from an email in mediawiki

I would like to be send an email to an address that mediawiki can pick up and have mediawiki take it and generate a new page from it as a starting point. More complicated stuff like categories can come later.
I have searched around on the web and not found anything obvious.
I have not developed against mediawiki before but am an able and willing developer.
Thanks for any assistance provided.
There is this extension - EmailToWiki
It relies on a POP3 account being available and has been in Beta for a long time, but it may be a good start for what you want to do.
Have a daemon of some sort running on the server that picks up emails from an account (through POP protocol presumably), use the Mediawiki API to generate stub page.
Instead of a daemon, you could just have a cron job of some form.