Announcement Announcement Module
Collapse
No announcement yet.
Using setSendDate method of SimpleMailMessage Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using setSendDate method of SimpleMailMessage

    Hi,

    I'm having problem setting a date for sending an email using setSendDate(). The email is sent immediately!!

    There is no enough documentation on this method. I assume that it sends the email message on date set by setSendDate(). Am I wrong?


    Also, isn't setTo(String[] to) supposed send mails to array of email addresses passed in "to" array?

    Any help is appreciated.

    Thanks in advance.

  • #2
    Programmatically scheduling mail messages

    Hi,

    Have anybody used or know how to use setSendDate() method of simpleMailMessage?

    When I set the the date the message is sent immediately instead of sending it on passed date and time!!

    Any idea? Have anybody successfully scheduled mail using this method?

    Thanks again.

    Jay

    Comment

    Working...
    X