------art_61390_15246521.1173963676755
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I am using mechanize library to do automated form posting. Unfortunately it
doesn't seem to work for only gumtree.
Below is the snippet of code that I am using.  xxxxx represent the acutual
post id and ziz value.  Similar code works for other web applications only
gumtree fails.  Is it because, the form has a file upload control in it ?


require 'mechanize'
agent  WW::Mechanize.new
agent.user_agent_alias  Windows IE 6'
page  gent.get("
http://www.gumtree.com/cgi-bin/email_poster.pl?posting_idxxx&zizxxx")

form  age.forms.with.name("email_friend").first

form.from_email  xyz / gmail.com'
form.message  direct http post from code"
results  gent.submit(form)

Thanks
Manjo

------art_61390_15246521.1173963676755--