|
# File bin/rsendmail.rb, line 51
def get_recipients(message, field_name, list)
unless message.header[field_name].nil?
RMail::Address.parse(message.header[field_name]).each do |address|
# FIXME: need an "smtpaddress" method
list.push(address.address)
end
end
end
|