i see this page before and i downloaded the java mail but i cannot send an email from a yahoo to a yahoo but it work fine if i send email from gmail to a yahoo mail so my question if the from email that i want to send emails is for a private company email will it work????
STMP is your outgoing mail server. If you don't know what it is, you will need to ask your network administrators about accessing it. Once you have that, you can follow the examples in the documentation.
it is true but if i make the sender email is a yahoo email it will not send the message but if i send it from a gmail it will send the message but the sender email it is neither gmail or yahoo so my question is what part of the code i should change if the sending email is private company email??????