diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index eb6ba4030..50788053e 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,3 +1,7 @@ +== Sun Dec 13 01:06:17 UTC 2009 Mikel Lindsaar + +* Resolved Issue #18 - Wrong instance variable name + == Thu Dec 10 21:25:37 UTC 2009 Mikel Lindsaar * Resolved Issue #13 - replacing From field results in from field becoming optional field. diff --git a/lib/mail/network/delivery_methods/smtp.rb b/lib/mail/network/delivery_methods/smtp.rb index 52f9066f2..5fbcb5eea 100644 --- a/lib/mail/network/delivery_methods/smtp.rb +++ b/lib/mail/network/delivery_methods/smtp.rb @@ -32,7 +32,7 @@ def pass(value = nil) # The helo domain used at the begining of an SMTP conversation, # default is 'localhost.localdomain' def helo(value = nil) - value ? @help = value : @helo ||= 'localhost.localdomain' + value ? @helo = value : @helo ||= 'localhost.localdomain' end # Turn on TLS