Works fine here ..
Based on the tamper data:
I made this script:
Code:
from classes.NeoAccount import NeoAccount
neouser = "" #Neopets Username
neopass = "" #Neopets Password
acc = NeoAccount(neouser,neopass)
acc.login()
postdata = {"recipient" : "England" , "neofreinds" : "" , "subject" : "Test" , "message_type" : "notitle" , "message_body" : "this is a test message"}
html = acc.post("http://www.neopets.com/process_neomessages.phtml",postdata , "http://www.neopets.com/neomessages.phtml?type=send")
print html
Notice this line?
html = acc.post("http://www.neopets.com/process_neomessages.phtml",postdata , "http://www.neopets.com/neomessages.phtml?type=send")
The last parameter is the refferal url (ie the page the browser was sent from) , without it we get this message:
Here is the received neomail....
(you need an account to see links) by @(you need an account to see links)