Results 1 to 2 of 2

Thread: sending email recommendation

Hybrid View

  1. #1
    Join Date
    Sep 2012

    sending email recommendation

    Hello everybody.

    I'm developing an application and i need to send emails after processing some info, that info it's stored in a mysql table and i need to check that info every 1 min, asking for new records with sent status in 0 for unsent messages, i only need to know what's the better, faster and optimized way to send several emails.

    I wrote a java program and works fine, but i'm breaking my head thinking in a better way to do it.

    maybe cron task?

    thank you all.

  2. #2
    Join Date
    Sep 2012
    Cardiff, UK
    Ubuntu 12.04 Precise Pangolin

    Re: sending email recommendation

    Although you don't describe the code in great detail, it sounds like you're implementing a poll mechanism for sending emails. A more efficient mechanism would be event based, where the email would get sent when an unsent message is encountered during processing.

    Providing the code would be much more helpful to getting advice.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts