I am just write a code to send mail using Servlet.Our company site was hosted in a web hosting.I just want to test my code with that hosting.I take the smtp server i.e) smtp.host.com and my question is will authentication needed to send mail? my mail id is email@example.com and if i use this as my from address in the code, does i need to authenticate it?
Please shed some light on this.
Never try to be a hard-worker. Be a smart-worker.