Hello I am trying to learn how SMTP works and I went with java for my test. I have been following some examples and putting together a Frankenstein kinda code but it works to a degree. Everything works fine up till you try to send a email I think. I gets down to the mail FROM part then gives me this error
I am stumped on it. It look like the one online that I used and from my book but it does not work. Am i missing something here? Thanks for any help with this.
Here my code
Looks like you're trying to connect to a mail server which requires a secure connection. That's going to be a complication which you don't need while you're learning the basics of SMTP. So I suggest you test with a different server.
Joined: Oct 16, 2012
Thank you I didnt even think of that. Could you suggest one that would work?