Anonymous
public text v1 · immutablemessage = 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