From: Stefano Crocco Date: 2010-12-19T16:54:10+09:00 Subject: Re: variable problem On Sunday 19 December 2010 11:06:29 Derril Lucci wrote: > so i am writing a program that sends email via an smtp server on gmail. > the problem is that my email has a "." in it. the issue arises at the > end of the following code block: > > Net::SMTP.start('smtp.gmail.com', 25, 'em.ail@gmail.com', 'em.ail', > 'password', :em.ail) > > on the :em.ail part, it throws an error saying that ail is an undefined > method for em. just curious if there is a way to represent 'em.ail' in > a way that will work. > > thanks in advance. > > cheers, > dlucci :'em.ail' should work. Stefano