Normally you'd implement a spamming engine - sorry, mailing list sender - on the server, not the client. Then it's a piece of cake.
If you need to do it from an applet then you need it to connect to an SMTP server, with the associated security implications (ie an unsigned applet can only connect to the server from whence it came).
Thank you sir for quick reply.But sir my question was not that.
I know i have to use smtp server for that but i have to send 1000000 mail at a same time(same mail ).In that case what will be mailto function to make the process faster.
i think if i use loop in mail function the process will be slow.
Is there any alternative way to send mail.
> i think if i use loop in mail function the process
> will be slow.
Try it out and see how long it takes. Don't guess at how long the timeframe is.
Also, what time frame do you need them sent in. You say the "same time" but I am sure that you don't mean within the same ms. Do you mean within the same sec? min? hour?
> Is there any alternative way to send mail.
The post office is hurting for that kind of business. But either way if you mailing the same think to 1 million people, its only junk.