Get zoho emails in my rails application - ruby-on-rails

I am trying to fetch emails received and sent from zoho account.
I want to trace all the emails coming to me in outlook or I am sending from outlook.
I have seen zohoCRM, rubyzoho but not able to get things done.
Any suggestions on this.

What you are looking for is a way to build a simple email client with ruby.
There is a simple Ruby Mail library which can get the work done for you. For quick reference, you can check the section "Getting email from a POP server"
Zoho supports POP Access. You should be able to get the access details from there and use it.
The Ruby mail library also support IMAP access and so does Zoho.

Related

Best practices for using SendGrid's v3 API?

I'm using the v3 API to send confirmation emails to my new users. All of the emails appear to be sending BUT over half of the emails don't contain the dynamically-inserted confirmation URL that I send along in the request.
I'm not sure where to start debugging this: if ~50% of the emails are getting the links within their emails and the rest aren't, where would you start with digging into this problem?

Mailcore2: how to receive mail instantly when a new mail arrived?

I'm building an iOS mail client for receiving mails via mailcore2, with IMAP protocol, I've fetched the mail messages successfully. But, how to implement the remote notification push when the target mail account received a new mail in client? I checked the mailcore2 project and some google search results, no luck there.
Please help, thanks!
UPDATE:
Let me clarify the problem details, for the mail client like Airmail in Mac and Microsoft Outlook in iOS, they support to add a IMAP protocol mail account for sending and receiving e-mails, e.g. I added my qq.com mail to Outlook for iOS client, once a new mail arrived to my INBOX in qq mail, I could get an instant remote notification from Outlook client right now.
Let me guess, the mail client didn't upload/save my IMAP-protocol mail config to microsoft/outlook server, all the receiving mail logics just work in local, including communication protocol.
How about IMAP? I've check this article on difference between POP and IMAP. IMAP just keep the client and server have the same account mail data all the time.
Airmail in Mac used mailcore2 in its implementation, so how does it make sure the remote notification work? I don't think they deployed a server side to check the new email arrival for all the user accounts, really.
On mailcore2, I think this is the key point, the remote push should be implemented by it, not some unknown servers. I checked the project structure basically, it's so huge for me and there are many c++ code logics, I must read many mail related blogs before reading it. If someone knows the related guide/wiki/header files, please share to me, or point the mistake on my above guess out, great thanks!

How to get mail list that mandrill failed to sent to?

We found that some clients didn't get mail because of followed issue described here
How can we get all mails that failed to get mail?
Does Mandrill provide any API?
Thank you,
Yes, Mandrill does have a robust API, and you can easily retrieve the list of emails that have failed.
See Mandrill's API documentation here: https://mandrillapp.com/api/docs/rejects.JSON.html#method=list
They have examples in a bunch of popular languages, and you can even test the responses with your real API key on that same documentation page!

How to get a report of send messages from wire2air api in rails app?

I am using wire2air api for sending messages I need generate report of send messages any idea how to call api for that
Delivery reports are only supposed for Advanced Developer account. If you are one then go to the help console there is a explanation for it there. click me shows that it exists in the api.

Notification Emails Using Mailchimp

I am new to mailing with webapps. I looked around and found Sendgrid and Mailchimp. I can see that sendgrid's developer section has a simple smtp url that i should be able to use simply. However i don't find any such thing on Mailchimp. I am wondering how I can use mailchimp to send notifications like User registration or confirmation notification (not necessarily large number of emails blasted altogether but individual notification emails). Right now my application is set to use sendmail in rails.
Can anyone give me clues as to how I can use Mailchimp as the service for sending notification like emails and not mass emails. So far it seems like mailchimp may be more for just mass emails, is that correct?
Thanks
Sendgrid is a simple SMTP provider and relay. Mailchimp is more designed for email marketing using their toolchain. I would reccomend that you stick with sendgrid for simple notification messages but use Mailchimp for email campaigns and complex notifications.
So yes you initial guess is correct that it the two services are to be used for different things. However if you really want to use Mailchimp for email notificatons I would be more than happy to dig up some information for you.

Resources