Do I need to take any special care? I have sorted all email ids by domain.
use phpmailer class.
http://www.php.net/manual/en/function.mail.php
Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.