try something similiar to this -
note: mailto is dependant on user OS browser/email settingsCode:emailBtn.onPress = function() { nnl = "%0A"; name = "[email protected]"; subject = "I have a qwestiun"; yourname = "who am i ?"; sex = "what am i ?"; city = "where am i ?"; age = "when am i ?"; code = "encrypted"; telephone = "black and silver" emailAddress = "[email protected]"; comments = "tested and working"; getURL ("mailto:"+name+"?subject="+subject+ "&body=Name: "+yourname+nnl+nnl+ "City: " +city+nnl+ "Sex: "+sex+nnl+ "Age: "+age+nnl+ "Postal Code: "+code+nnl+nnl+ "Telephone: "+telephone+nnl+ "email: "+emailAddress+nnl+nnl+nnl+ "Comments: "+comments); }
so it is not the most reliable of methods
if possible, use a server side script to send the mail




Reply With Quote