All pastes #29470 Raw Edit

Anonymous

public text v1 · immutable
#29470 ·published 2005-11-20 04:12 UTC
rendered paste body
message = sprintf("From: %s\nSubject: %s\n\n%s\n\n", from, subject, body)
print message

smtp = Net::SMTP.start(server)
smtp.sendmail(body, faddr, to)
smtp.finish




The subject nor from show up when I recieve the message. The headers arent working! The print on line 2 shows this:
From: Epix
Subject: hello

test test test