Below is my code for sending an automatic mail on registration from my website:
And when i run this on my eclipse its throwing exception the stack trace is as below:
And the jar files i have in my eclipse build path are javax.mail.jar , activation.jar, commons-email-1.0.jar Please help me resolve this... Thanks in advance...
sorry by mistake i posted it here .... How to move it to another forum... Should i have to close this and post a new question in the another forum or is there any other way to do it??
@UlfDittmer hey i used the code from MK yong only but it was giving me some exception like "must issue STARTTLS command first" then i added a new jar file javaxmail.jar of version1.5. then it worked and now its giving me the exception as in the above question... Am banging my head on this issue from last three days please help me resolve this..