Question - is JavaMail the choice for me? Mass email delivery.

Hello. I'm thinking about using JavaMail API, and I would like your feedback if JavaMail is the right choice for me.
I'm working on a J2EE app (running on Glassfish) that will send email out to multiple recipients. The critical parts are
1) It must scale so that it can send up to 10,000 email multiple times a day.
2) The servlet that sends out the email must have a descent performance (can't hang while sending out 10,000 email forcing the user to wait, but for the servlet to send out 10,000 emails....I expect a little delay)
So I'm using postfix for delivery with support for 10,000 recipients. I am thinking of using JavaMail inside a servlet which retrieves the 10,000 email addresses and creates 100 separate emails with 100 email recipients under BCC for each email.
I am sending out the email in bulks of 100 separate email each with 100 recipients under BCC to address performance.
Does my solution sound logical? Anything else I should be aware of?

I'm not speaking from personal experience since I haven't tried to build something
of the scale you're talking about, but...
I wouldn't expect the overhead of the JavaMail API to be a significant issue here.
Of course, you have to use the JavaMail API in a reasonable manner to get good
performance and scalability.
A lot depends on the performance of your server as well.
I would expect the most difficult part to be handling the inevitable failures (network, server, etc.)
that will occur when working at this scale.
100 connections to your mail server several times a day shouldn't be an issue, but your
mail server will be busy sending out all those messages.

Similar Messages

  • HT5312 I forgot the security questions and also the password for security info email of my apple id. Now I want to change the security info email with another. What Should I do?

    I forgot the security questions and also the password (and even account id, sequrity questions,... becouse I didn't use for a long time) for security info email of my apple id. Now I want to change the security info email with another. What Should I do?

    Even if I'm not despertate, creating a new Id is good Idia. But I think I must create another email address also since I can't use the first email adress as an apple id for the new one. That means I should check everyday the new email address also, that is making life complex. Better to try the 1st solution. Thank you very much.

  • I got home today and got a message on Messages or IMessage and the Messages app would not open i restarted my computer and it had a question mark as the icon for the app. Help!?!?! What does this meen how can i prevent further damage or fix damage delt

    I got home today and got a message on Messages or IMessage and the Messages app would not open i restarted my computer and it had a question mark as the icon for the app. Help!?!?! What does this meen how can i prevent further damage or fix damage delt

    Is this what you see when you start up your MBP?
    http://support.apple.com/kb/ts1440
    Ciao.

  • Ihave downloaded iCloud to my new PC and am using windows 7 and office 2010. I cannot get iCloud to come up on Outlook with the choices for CalendCar and contacrts, my iMail account is there, but not the general coud choices. What am I doing wrong.

    I have downloaded iCloud to my new PC and am using Windows 7 and Offie 2010. I cannot get iCloud to come up on Outlook with the choices for Calendar and Contacts, my iMail accnt is there***.me.com, but not the general Cloud choices for calendar and contacts? What am I doing wrong?

    I have I cloud 2.0.2.187 loaded just downloaded yesterday.

  • Apple asking me security questions that ive never set up and i can't purchase anything, and ive tried resetting them but i can't remember the password for my rescue email address, please help?

    Apple asking me security questions that ive never set up and i can't purchase anything, and ive tried resetting them but i can't remember the password for my rescue email address, please help?

    You need to either reset the rescue email address's password(check the site's help for instructions) or ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (99674)

  • HT204053 I have just installed IOS7, having reset the security questions I have been asked for a Rescue Email address. I have entered my primary address, this is not valid. I have added another of my hotmail addresses and the process will not continue. I

    I have just installed IoS7 on my I Phone. Having reset the security questions I have been ask for a Rescue Email address. My primary address is not acceptable, I have tried other addresses put but the process will not forward. I cannot go back, my phone now will not function. The Rescue Email address keeps appearing. Help please.

    Did you check the email account for a verification email from Apple?  You may need to respond by clicking the Verify Now link before the new rescue address will be accepted.

  • Looking for help to update the certificate for my Exchange Email Account...

    I'm trying to update the certificate for my Exchange Email Account...Dell had me delete the account, install the new certificate on my phone, and set up the email again...But it still won't work and acts like it can't find/use the new cert.  Any suggestions besides a hard resest of the phone?

    That's a great question, LSchmitz!
    Is the e-mail account on your cell phone? Which device? If its on your phone, an Exchange e-mail, may need to be provisioned/ set up by your employer/ IT department.
    VanessaS_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • I have a problem. My Apple ID is not my icloud email address my Apple ID is my msn account, but I need to reset the password for my icloud email because I can't remember what it is. How do I do that?

    I have a problem. My Apple ID is not my iCloud email, my msn is my Apple ID, but I need to reset the password for my icloud email address because I can't remember what it is. How can do I reset my iCloud emaill password when it's not my Apple ID??

    Your iCloud and @icloud.com login ID is an Apple ID. Go to http://appleid.apple.com and sign in with the ID you use to sign into iCloud (you can check this by going to http://www.icloud.com and signing in there).
    Click 'Password & Security' in the sidebar and you will be able to change the password.
    HOWEVER
    Before you do this you must turn off 'Find My iPhone/iPad/iMac' if you have it enabled on any of your devices, otherwise you will land yourself in difficulties.

  • HT5312 Where is the option for them to email my Rescue Email the reset?

    Where is the option for them to email my Rescue Email the reset? I do not seem to have that option no matter what device I use. The rescue email article in no way answers this as I have been trying to use that in every way I can think of for two hours.

    The option to send reset info will only appear if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account. If it's not appearing then I assume that you don't have one, in which case see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551

  • I am trying to update my apps. When it prompts for my password my old deleted email address comes up. I don't even rember the password for that old email. How can I get to update my apps with my current email?

    I am trying to update my apps. When it prompts for my password my old deleted email address comes up. I don't even rember the password for that old email. How can I get to update my apps with my current email?

    All apps are tied to the Apple ID they are purchased with and is not transferable.
    Delete app and download app with your new Apple ID.

  • What is the BAPI for creating an inbound delivery without reference.

    Hi Experts,
    What is the BAPI for creating an inbound delivery without reference.
    Points will be rewarded

    BAPI_DELIVERYPROCESSING_EXEC
    cheers
    Aveek

  • IPhone should give the choice for a Keyboard or Keypad!

    Apple should release an update that allows the user to select KEYBOARD or KEYPAD when typing text.
    What i mean is that the use can have the choice to use the conventional number keypad and use T9 (like regular cell phones) therefore the keys can be bigger which will help reduce the number of errors (millions of people are used to sending txt messages using T9, so the transition to the iPhone will be ever smoother).

    Saeid wrote:
    Apple should release an update that allows the user to select KEYBOARD or KEYPAD when typing text.
    What i mean is that the use can have the choice to use the conventional number keypad and use T9 (like regular cell phones) therefore the keys can be bigger which will help reduce the number of errors (millions of people are used to sending txt messages using T9, so the transition to the iPhone will be ever smoother).
    They don't give us the choice because the iPhone is designed to choose it for us..
    If you notice, the keyboard is quite different on SMS than the email app. Also, different if you're typing a URL on Safari.
    Message was edited by: iphonechik

  • Package question - what are the uses for  /var/sadm/pkg ?

    I'm writing packages and noticed once a packages is installed using pkgadd, that files and dirs are created in the /var/sadm/pkg directory. I'm specificly intereseted in the pkginfo file - it contains all the variables from my request script and their values. My question is what are all the uses for this file?
    I've noticed that pkginfo reads from it but would there be any problem deleting certain lines from that file (lines not used by pkginfo - just variables used in the request script that I'd really rather not have floating around in a publicly accessable file).
    thanks!
    Bob

    I'm refering specificly to the file "/var/sadm/pkg/<pkgName>/pkginfo" - it's created during pkgadd and contains all the variable-value pairs from the packages pkginfo file as well as any variables used in the request script and copied to it's temporary response file. I'm not refering to the pkginfo file that you create as a package infofile component.
    I want to remove, from the /var/sadm/pkg/<pkgName>/pkginfo file, certain var-value pairs that were used in my request scripts (not part of the InfoFile/pkginfo component). Otherwise, any user can look at this file or run 'pkgparam <pkgName>' and get that sensative info.
    To the best of my knowledge, this file is only used by the commands pkgparam and pkginfo. Are there other uses?
    My worries are:
    -is it OK to remove lines manually during the postinstall script?
    -will doing this cause problems with any admin or package maintenance functions?
    Thanks-
    Bob

  • Question:what is the key for it to support SAP?

    Hi, I am a new SAP member, i have a question about if i work for IT department, what will be the key for me to support ERP-SAP???
    Any experts can help me??
    Thank you so much

    Dear,
    I didnt get it....
    I am a new SAP member, i have a question about if i work for IT department, what will be the key for me to support ERP-SAP???
    You mean you are joined IT department - what's your role to support with ERP-SAP???
    Or you joined IT department as ERP power / super user???
    Anyway.. considering  _if i work for IT department, what will be the key for me to support ERP-SAP_
    You have to install Front end GUI in all user systems and configure clients (SAP clients 300, 786, sandbox etc) whichever applicable to set. Takr care and maintain the servers, network connectivity, installing the SAP supported printers and configure them in ERP to get print out etc.
    Hope this what you looking for ... if not pls. do reply.
    Regards,
    Syed Hussain.

Maybe you are looking for

  • Will apple tv version 1 run hulu plus

    I am using a Apple Tv generation 1 to have composite video instead of HDMI to connect to a lower resolution tv. I want to use Hulu Plus which does run on later generation Apple Tv's. When I start up the Apple Tv I do not see Hultu as a supported prog

  • How do I cancel an automatic renewal magazine

    I keep getting charged every month for a few magazines that are automatically renewing. I would like to cancel this but it seems IMPOSSIBLE! Please help..

  • Adobe Reader in Windows 7 Phone

    I have a Samsung Focus and use Adobe Reader to open/view PDF files on my phone. Is there any way to email or share my PDFs from my phone?

  • Recording quality problem..can anyone help?

    I have found Audition to be a wonderful tool for my audio restoration work, and so it was natural for me to use it when I started recording my own music. I write 2-4 songs a month, andI have been struggling for years to perfect my guitar tones. I  ha

  • Configuring Double Authentication to support OTP for Multilink

    I am having difficulties implemanting double authentication to support one time passwords (ACE Token Server). Has anyone successfully implememented this to support ppp multilink? Does the user also have to open a telnet connection once they connect?