hallo ecko,
thanks for your help but the problem is :
i try to develop an online shop system in which users can register to the system with their e-mail addresse. after registering the user, system should send to user an email.
and if the user has an hotmail or gmx addresse i can't do this :(
can you help me for this problem?
thanks again.
Yes, you should be able to send email to hotmail addresses, but you'll
probably have to send it through your own mail server first.
Also, some people use JavaMail to write spam mailers, and some
mail services are thus rejecting messages that appear to come from
JavaMail programs. You might need to customize the Message-ID
in your message so that it doesn't appear to come from JavaMail.
hi echo, bshannon
thanks for your helps.
first to echo : i have tried with yahoo.
ihave registered by yahoo and i have used the code below :
private String host="smtp.mail.yahoo.de";
Properties properties = System.getProperties();
properties.put("mail.smtp.host", host);
//properties.put("mail.smtp.port", 587);
...
Transport tr = session.getTransport("smtp");
tr.connect(host, username, password);
in last line i get en error : "530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html"
i have check this out and i tried to make it with port 587 like above. but it doesn't go :( i use norton antivirus and disabed the checking outgoing email too but still not working!!
do i make a mistake? how can it be so difficult to send a mail !!!
second to : BSHANNON
i have tried it with my own smtp server namely "1st smtp server"
than it didnt work. how can i set the message ID and what should i write as message iD
thanks again