By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,407 Members | 2,842 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,407 IT Pros & Developers. It's quick & easy.

Is there any way to open multiple emails using mailto: tag?

P: 6
I am using mailto tag to send email to multiple people but I have the PHP codes which fetch emails from the database.

I am using Thunderbird (it is an email platform just like outlook developed by the Mozilla Foundation) which limits emails addresses to 60.

How can I write the PHP codes to send more than 60 emails?

Is it possible to write the codes to open more than one email (with 50 emails each) when the link is clicked?
Jan 5 '12 #1
Share this Question
Share on Google+
7 Replies


Rabbit
Expert Mod 10K+
P: 12,366
Do whatever you're doing to open/send one e-mail but just do it more than once.
Jan 5 '12 #2

P: 6
Thanks Rabbit but that wont work.

I want the PHP codes which opens more than one compose windows when the user click the link.

Thanks
Jan 5 '12 #3

Rabbit
Expert Mod 10K+
P: 12,366
Can't help much without seeing the code you tried.
Jan 5 '12 #4

P: 6
<?php

<tr><td align="left"><a href="mailto:pam@sandiegohomebrokers.com?bcc=
<?php


$mySQL = "select distinct CRM_contacts.contactID, CRM_contacts.namefirst, namelast, CRM_contacts.company, email1 from CRM_contacts RIGHT JOIN CRM_contacts_groups on CRM_contacts_groups.contactID = CRM_contacts.contactID WHERE CRM_contacts_groups.groupID='2' ";



if ($result = mysql_query($mySQL))
{
while ($user=mysql_fetch_array($result, MYSQL_ASSOC))
{
$email=$user['email1'];


echo $email.", ";
}
}
else
{
echo " No email Selected!";
}



?>&subject=Prospects"><img src="http://www.sandiegohomebrokers.com/contacts/images/mail_24.gif" width=10 height=20 border=0></a>&nbsp;&nbsp;Prospects</td></tr>
?>

These codes fetches email from the database. Thunderbird has limitation of the email fetched so I want the codes which will open another compose windows when the emails are more than 50.

Thanks
Jan 5 '12 #5

Rabbit
Expert Mod 10K+
P: 12,366
You're not using code to automate the e-mail. All you're doing is creating a link. In this case, you should create multiple links, with 50 e-mails each. Then you click on each link.
Jan 5 '12 #6

P: 6
thanks,

Yes, I am creating a link. My aim is to create a link that will popup more than one compose windows when the emails fetched from the database are more than 50.

Is it possible?
Jan 6 '12 #7

Rabbit
Expert Mod 10K+
P: 12,366
No. You have to create separate links and then click each.
Jan 6 '12 #8

Post your reply

Sign in to post your reply or Sign up for a free account.