andhan
asked on
Automatic e-mail
I am trying to make an applet that should send me an
e-mail every time someone visits my homepage.
Please if you have a codesample to point out the way
that would make me really happy.
Anders
e-mail every time someone visits my homepage.
Please if you have a codesample to point out the way
that would make me really happy.
Anders
ASKER
Maybe I am wrong, this is my first question here. But i think
that for 100 points the answer should be a little more specified.
I am sorry heyhey
that for 100 points the answer should be a little more specified.
I am sorry heyhey
>> the answer should be a little more specified.
what do you need exactly ?
P.S. expert are suppost to give advices, suggestions and maybe code examples, not to write full workinig applications ...
P.P.S. Look at the latest PAQ / Answered questions - there is at least one SMTP question with source code published. if i have a free hour, i can build such an applet and post it here ...
what do you need exactly ?
P.S. expert are suppost to give advices, suggestions and maybe code examples, not to write full workinig applications ...
P.P.S. Look at the latest PAQ / Answered questions - there is at least one SMTP question with source code published. if i have a free hour, i can build such an applet and post it here ...
open a socket connection on port 25 of SMTP server. Then send SMTP commands like From, Recepient, etc,. then finally send the data after the DATA command. Finally send "CRLF.CRLF". CRLF depends on the type of OS. It may be \r\n or \r. For detailed explaination of SMPT commands see in RFC'c.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you heyhey
Now i am satisfied with the answer, you don´t have to post any
code here. This is only something i´m doing for the fun of it.
But i hope that i someday in the future will be able to return
the help you gave me.
Once again
Thank you
andhan
Now i am satisfied with the answer, you don´t have to post any
code here. This is only something i´m doing for the fun of it.
But i hope that i someday in the future will be able to return
the help you gave me.
Once again
Thank you
andhan
hey, andhan :)
no problems.
i'm satisfied too - i'm already in top15 :)
keep on good coding
heyhey
no problems.
i'm satisfied too - i'm already in top15 :)
keep on good coding
heyhey
you can find some examples of SMTP implementation (with sources) at
www.gamelan.com, www.jars.com (just search for SMTP)
if you can't find anything or if you have more specific porblems please post them here
hope this helps
heyhey