/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param addresses the addresses to which to send the message * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, Address[] addresses, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, addresses, user, password); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param addresses the addresses to which to send the message * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, Address[] addresses, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, addresses, user, password); }
/** * Send a message. The message will be sent to all recipient * addresses specified in the message (as returned from the * <code>Message</code> method <code>getAllRecipients</code>). * The <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, msg.getAllRecipients(), user, password); }
/** * Send a message. The message will be sent to all recipient * addresses specified in the message (as returned from the * <code>Message</code> method <code>getAllRecipients</code>). * The <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, msg.getAllRecipients(), user, password); }
send0(msg, msg.getAllRecipients(), null, null);
send0(msg, msg.getAllRecipients(), null, null);
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * @param msg the message to send * @param addresses the addresses to which to send the message * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException */ public static void send(Message msg, Address[] addresses) throws MessagingException { msg.saveChanges(); send0(msg, addresses, null, null); }
/** * Send the message to the specified addresses, ignoring any * recipients specified in the message itself. The * <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param addresses the addresses to which to send the message * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, Address[] addresses, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, addresses, user, password); }
/** * Send a message. The message will be sent to all recipient * addresses specified in the message (as returned from the * <code>Message</code> method <code>getAllRecipients</code>). * The <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, msg.getAllRecipients(), user, password); }
/** * Send a message. The message will be sent to all recipient * addresses specified in the message (as returned from the * <code>Message</code> method <code>getAllRecipients</code>). * The <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, msg.getAllRecipients(), user, password); }
/** * Send a message. The message will be sent to all recipient * addresses specified in the message (as returned from the * <code>Message</code> method <code>getAllRecipients</code>). * The <code>send</code> method calls the <code>saveChanges</code> * method on the message before sending it. <p> * * Use the specified user name and password to authenticate to * the mail server. * * @param msg the message to send * @param user the user name * @param password this user's password * @exception SendFailedException if the message could not * be sent to some or any of the recipients. * @exception MessagingException for other failures * @see Message#saveChanges * @see #send(Message) * @see javax.mail.SendFailedException * @since JavaMail 1.5 */ public static void send(Message msg, String user, String password) throws MessagingException { msg.saveChanges(); send0(msg, msg.getAllRecipients(), user, password); }