serwer.mail
Class SendMailUsingAuthentication
java.lang.Object
serwer.mail.SendMailUsingAuthentication
- public class SendMailUsingAuthentication
- extends java.lang.Object
Obiekty klasy SendMailUsingAuthentication służą do automatycznego wysyłania maili do klientów
aplikacji, jeśli wymagane jest hasło do autoryzacji.
Method Summary |
void |
postMail(java.lang.String[] recipients,
java.lang.String subject,
java.lang.String message,
java.lang.String from)
Metody zwiazane z wysylaniem maili na konkretny adres;
zrodlo: http://www.javacommerce.com/articles/sendingmail.htm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SendMailUsingAuthentication
public SendMailUsingAuthentication()
- Creates a new instance of SendMailUsingAuthentication.
postMail
public void postMail(java.lang.String[] recipients,
java.lang.String subject,
java.lang.String message,
java.lang.String from)
throws MessagingException
- Metody zwiazane z wysylaniem maili na konkretny adres;
zrodlo: http://www.javacommerce.com/articles/sendingmail.htm.
- Parameters:
recipients
- lista odbiorcówsubject
- temat wiadomościmessage
- tekst wiadomościfrom
- adres nadawcy
- Throws:
MessagingException
- gdy nie uda się wyśłać wiadomości