On Wed, Jul 8, 2009 at 2:28 PM, khaja shaik khaja.sh...@gmail.com wrote:
can anybody help me how to send a attachment using watir (i have to send
using outllook)
Watir can only drive browsers (Internet Explorer, Firefox...). You will have
to use another tool to automate Outlook.
Željko
--
Hey khaja,
You can't use watir to send mails.but you can use
net/smtp to do so.
I have given a sample code which will use smtp to send emails, but
this will not send attachments,( you need to tweak the message type
etc i guess.)
require 'net/smtp'
myMessage = MYMESSAGE
Hi,
Check this Mailfactory stuff its cool works fine
go through this link for further details
http://mailfactory.rubyforge.org/
Here you can down load the mailfactory gem
http://rubyforge.org/projects/mailfactory/
Regards,
Chethan
--~--~-~--~~~---~--~~
You