What's a good mail server for development use? [closed] - imap

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm doing some development which will involve reacting to emails, and I'd like to use a local IMAP mail server for this.
I currently use Devnull SMTP server for testing of sending emails, but this just logs and discards messages, it doesn't do IMAP for checking incoming emails/mailboxes.
I don't need/want a full-blown server, just something lightweight I can easily start/stop as required.
Multi-platform is preferred, but feel free to provide answer for specific platforms also.
(A POP3-based server would also be acceptable for development use, since I'll be supporting both in my code anyway.)

Take a look at hMailServer.

I consider JAMES the best mail server for development. And its portable too. Fully written in Java.

Mercury Mail Server is a full featured mail server (minus webmail), however it is very light and should meet your need: Mercury Mail Server
Edit: Forgot to mention Windows/Netware only

Check out courier for unix-based machines. I've run it for quite some time on a linux machine, and it's very nice. You can easily enable/disable the features you want, including SMTP, POP, IMAP, SMTP Auth, SSL versions of protocols, etc.

exim works nice even in windows via cygwin.

Mdaemon is an excellent windows MTA. Lots of good reasons to use it in production too.
Another different option is to use Gammadyne mailer in server mode.
http://www.altn.com/products/mdaemon-email-server-windows/
http://www.hmailserver.com/
http://www.gammadyne.com/gm-list_management.htm

Related

iOS app to listen to a port all the time [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to create an app that listen to a custom port all the time & when the client try to connect through that port I want to handle that event.
I searched a lot in the internet about it but I couldn't get any good resources for my requirement.
I want to know if I build that app somehow, will Apple Store approve my app? because the app always listen to a port. They might think it's a security issue.
Can anyone give me an answer to that question, as well as please provide me relevant resources for that.
Thanks
Apple has some examples, both with Core Foundation and POSIX sockets in the network programming guide - but there is still a lot of work to be done beyond the code provided.
Because the use cases for mobile devices are typically client-style rather than server-style there isn't the same degree of development and examples available.
If the "other end" of your connection is also iOS, perhaps the multi peer connectivity framework could be an option.
Try this out: Cocoa Asynch sockets by Robbie Hanson. You can listen on a port and send/receive data on it.
Http is the standard mode of communication in iOS and all requests are handled by port 80, however should you find the need to use specific ports or go a bit lower level than HTTP and communicate using TCP sockets to your own custom server it's very much possible.
The advantages of doing this are several:
You can send just the exact data you need to send – making your protocol lean and efficient.
You can send connected clients data whenever you want, rather than requiring the clients to poll.
You can write socket servers without a dependency of a web server, and can write in the language of your choice.
Here's a tutorial that might get you started.
http://www.raywenderlich.com/3932/networking-tutorial-for-ios-how-to-create-a-socket-based-iphone-app-and-server

Real time messaging application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am curious to know the advantages between using parse or a custom xmpp server. I am curious if parse has the capability of being used for creating a real time chat application, because I have never used parse for that use. Or would it be easier and better to use a custom xmpp server to handle messages. I am also curious if parse would be able to completely delete data off the server because that is what my application requires. As background info I have already started the project with parse, but I could switch over to another option if it is necessary.
Thanks
In my experience with working with Parse, I don't believe that it's the correct solution for your needs.
You may get things up and running at first, but as you try to scale your application, you're going to need to ramp up your servers (and cost!) greatly to handle so many requests. Parse's pricing is based on your requests count for the month. Imagine how many requests you expect one user to make in a month. Now times that by 1000.... Not very scalable, huh?
Now I don't know much about xmpp servers, but I've heard from some colleagues that applications like WhatsApp are using Erlang and TCP servers (just like Call of Duty) to handle message requests. In fact, here's an article that talks about the logistics of WhatsApps technology https://www.erlang-solutions.com/about/news/erlang-powered-whatsapp-exceeds-200-million-monthly-users
Best of luck!

How do i implement a database for my ios app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
So i created my first app which allows users to track there fitness information (workouts, routines, etc). I want take my app to the next step by allowing the user to create there own account and be able to access their workouts from any ios device (all they have to do is log in). I know i have to use databases, but I just don't know where or how to start this process.
Could you recommend any tutorials or perhaps a resource you used to teach yourself? I'm familiar with sql (took a course on it in university.
thanks guys, I apologize for the newb question.
There are many third-party services you can use that can take care of the backend for your app so that you don't need to worry about managing the database yourself. Two of the most popular ones are parse and stackmob. Take a look at their documentations. I personally use parse and would recommend it.
I've never written any os apps, but for applications in general.
There are many ways, one of which is getting a server/website (you can get free ones) and set up the MYSQL database to have the tables you need like users etc.
Then simply send requests via POST/GET to the server which will enter it into the database.Then when they want to login just do the reverse.
I would personally uses sockets, and probably encrypt the data. You may as-well send information such as how long they've used the app for etc.

Best Chat Gem compatible with Heroku [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can anyone tell me what is the best Ruby chat gem/plugin that is compatible with Heroku? Can Node.js be used for this and does Node.js play nice with Rails 3?
I am working on upgrading my open source chat gem to be Heroku compatible (soon, hopefully). It's called Mad Chatter. Soon you will be able to easily integrate it with any Rails application.
Heroku supports HTTP long polling, but does not support web sockets. Web Sockets are a great new technology, but until Heroku supports it, you will want to look for gems that support long polling.
One popular solution is to use Socket.io, but it is meant for running on node.js. Juggernaut works like this (as a node.js server) except that it stores each message in a Redis database so that you can access them from Ruby. My only criticism of Juggernaut is that there are so many pieces involved to get it up and running.
Faye is a library which supports long polling and is available as a pure Ruby implementation which can optionally use Redis to store messages. I'm opting to use Faye because there are simply less deployment dependencies.
I'm sure there are other options but I know that Faye is a pretty popular solution. That being said, these are just the communication gems. They are only the foundation of your chat app. There are a few different "chat gem" options depending on the types of features you need. But by using Faye, you could implement your own simple chat app.
The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client.
http://juggernaut.rubyforge.org/.
Refer this thread

Are there any tools to integrate MS SQL Server Reporting with Ruby? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to pull some reports that live in a SQL Server Reporting Server from a Ruby web application.
How can this be done?
There is nothing out there pre-built that I'm aware of, but you have some options for integration.
The simplest, if users have direct access to the RS server, is to just redirect or link them to the report using their URL-based strategy, possibly opening a new window. If users do not have direct access, you can still use the URL-based strategy, but perform a request on the back end from your Rails app to the MS Reporting Services server, and stream all the report bytes through to the browser:
open("http://ReportServer/reports?querystringxxxx") { |f|
#response = f.read
}
This is drastically simplified, of course. You'll need to pay particular attention to your content types to ensure things get interpreted correctly by the browser.
The next option is to use their web services API, but unless you need particularly advanced functionality, I'd say the URL/REST based approach is far, far simpler.
If you get it working, take the opportunity to try creating your first gem, put it up on github, and then maybe somebody else will use it one day... :)
The rest-based approach would only work for a report with no parameters.
If the report has parameters, you will need to use the Web Services API, a SOAP-based interface that requires you to parse the request (with the parameters) into XML and send that with the request to MSSRS.
According to my co-worker, who has done it, it's pretty cumbersome for what you actually get.

Resources