D
Dhiraj Girdhar
Hi,
I took following very simple mail program from one of Ruby site, it is
working fine on my system, but not on other system. The only difference
which i Observed is that on other machine Microsoft Outlook is not
installed.
Please tell me the reason?
msgstr = <<END_OF_MESSAGE
From: Dhiraj Girdhar <[email protected]>
To: Dhiraj Girdhar <[email protected]>
Subject: test message
Date: Sat, 14 Jun 2007 16:26:43 +0900
Message-Id: <[email protected]>
This is a test message.
END_OF_MESSAGE
require 'net/smtp'
Net::SMTP.start('samplemailexchangeserver.arcot.com', 25) do |smtp|
smtp.send_message msgstr,
'(e-mail address removed)',
'(e-mail address removed)'
end
Regards:
Dhiraj
I took following very simple mail program from one of Ruby site, it is
working fine on my system, but not on other system. The only difference
which i Observed is that on other machine Microsoft Outlook is not
installed.
Please tell me the reason?
msgstr = <<END_OF_MESSAGE
From: Dhiraj Girdhar <[email protected]>
To: Dhiraj Girdhar <[email protected]>
Subject: test message
Date: Sat, 14 Jun 2007 16:26:43 +0900
Message-Id: <[email protected]>
This is a test message.
END_OF_MESSAGE
require 'net/smtp'
Net::SMTP.start('samplemailexchangeserver.arcot.com', 25) do |smtp|
smtp.send_message msgstr,
'(e-mail address removed)',
'(e-mail address removed)'
end
Regards:
Dhiraj