Robert H
4/7/2005 12:43:00 PM
require 'net/smtp'
msgbody = IO::readlines("M:/Program
Files/Mincom/ParadoxMaster/msqupd.log",nil)
msg = ["Subject: Test", "\n", msgbody]
Net::SMTP.start do |smtp|
smtp.sendmail( msg, 'to_addr', ['frm_addr'] ) # these had actual
values
end
ArgumentError: wrong number of arguments (0 for 1)
from (irb):4:in `start'
from (irb):4
irb(main):007:0>
Robert