As many web applications do, one that I am testing also sends e-mails. Also, it can receive e-mails.

I started testing e-mail functionality. I found Net::SMTP ( http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html) for sending and Net::POP3 (http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/classes/Net/POP3.html ) for receiving. They both work just fine.

I also found RubyMail (http://www.lickey.com/rubymail/) and TMail (http://i.loveruby.net/en/projects/tmail/ ) that should make my testing easier (parsing e-mails mostly).

But...

I could not install Tmail because I have problems with C compiler.
RubyMail does not recognize body of e-mails I am testing with: message.from, message.to and message.subject returns strings that I need, but message.body always returns nil.

I will try to contact authors of Tmail and RubyMail. I also started making my own ruby application for sending, receiving and parsing e-mails (my first TDD project!).

I just wanted to ask if somebody has any experience with testing e-mail part of your (mostly web) applications and can suggest some tools? Thanks.

Ċ½eljko

--
http://www.testingreflections.com/blog/3071
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to