Click to See Complete Forum and Search --> : mailto
fluffy100xr
02-19-2005, 02:38 AM
Could anyone tell me how to do a mailto in java? I have a username and password imput on a site that im setting up and when someone puts in their username and password i want it to send what they type straight to my email. Thanks guys!:D
Khalid Ali
02-19-2005, 08:22 AM
please post in the HTML(or JavaScript) section since your question have nothing to do with Java. Whenever you start posting question in a forum, you should always read the stickies at the top. They are there to inform you about the forums as well as other usefull info.
ray326
02-19-2005, 04:04 PM
If your form is posted to a JavaServer then you can use the classes in the javax.mail package to do that.
Khalid Ali
02-19-2005, 04:16 PM
javax.mail packages are completely different then what original poster is asking.
mailto: is protocol web browsers know about, where java mail packages are used once info is on the server and then they wanto use the mail capabilities.
buntine
02-19-2005, 07:42 PM
I think the user may be referring to an automatic email. Mailto is probably the only way the user knows how to reference this.
If you are using JSP on the server-side, refer to Ray's post.
Regards.
Khalid Ali
02-19-2005, 09:36 PM
Originally posted by buntine
I think the user may be referring to an automatic email. Mailto is probably the only way the user knows how to reference this.
If you are using JSP on the server-side, refer to Ray's post.
Regards.
That sounds correct...as he/she wants to be sent an email once a user logs in etc...and ofcourse this will be taken care of on the server side using java mail packages as ray mentioned..:-)
ray326
02-19-2005, 11:44 PM
Originally posted by Khalid Ali
javax.mail packages are completely different then what original poster is asking.
mailto: is protocol web browsers know about, where java mail packages are used once info is on the server and then they wanto use the mail capabilities. Hey, I'm just trying to yank fluffy back on topic. :D Maybe he'll come back and explain what he REALLY wants to do.
Khalid Ali
02-20-2005, 12:47 AM
I doubt it he will show...:p
fluffy100xr
02-20-2005, 02:22 PM
Originally posted by ray326
Hey, I'm just trying to yank fluffy back on topic. :D Maybe he'll come back and explain what he REALLY wants to do.
I wanna play a trick on one of my friends. So what im doing is saving the hotmail page to a web hosting thing then im going to send it to his email through an anonymous server and hell open it and it will be hotmail login and when he puts in his info itll send it to me. I want to sign him up for this one porno site thats big hairy men and i need to confim the email from his hotmail account. Then Ill go over to his house and norm he gets on msn and checks his mail infront of me and itll be like all these emails from big hairy men and ill be like DUDE WTF IS THAT WHAT ARE YOU GAY????!?!?! And at the bottom of the email itll say you didnt get this through spam you signed up for it. This is going to be so halarious if it works.
buntine
02-20-2005, 06:19 PM
Won't he see that its not hotmail? The URL being different and all?
It would be easier to simply write the data to a textfile.