From: Joel Pearson Date: 2013-01-31T17:55:46+09:00 Subject: Re: Simple Mailer Switch Not Working Can you give a few examples of input? It's difficult to see where it goes wrong without following the data you're entering. Why are you mixing together instance and local variables? For example, you're using @purpose and purpose interchangeably. -- Posted via http://www.ruby-forum.com/.