473,406 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

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
7 2083
Rabbit
12,516 Expert Mod 8TB
Do whatever you're doing to open/send one e-mail but just do it more than once.
Jan 5 '12 #2
Pamr
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
12,516 Expert Mod 8TB
Can't help much without seeing the code you tried.
Jan 5 '12 #4
Pamr
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
12,516 Expert Mod 8TB
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
Pamr
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
12,516 Expert Mod 8TB
No. You have to create separate links and then click each.
Jan 6 '12 #8

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

Similar topics

4
by: tp | last post by:
HI... I have created simple .asp page and i would like to send my page as email using my outlook . is it possible to send form body as new email outlook body using mailto command or any other...
3
by: A | last post by:
Hi all! I would like to ask a question on sending emails... I have a web application that requires sending emails using email templates. The templates that I've made are separate HTML files...
7
by: Paul Bromley | last post by:
I am using mailto to open the default e-mail program on the users machine using the following function code snippet that I found on th web.:- Public Function OpenEmail(ByVal EmailAddress As...
2
by: kewl | last post by:
Hi All, We have an ASP.NET 2.0 (C#) intranet application that needs to spawn multiple browsers using RegisterClientScriptBlock. Here's what we got so far: // Go thru each datarow in the...
1
by: dnes | last post by:
Open Multiple New Browser Windows from ASP.NET I'm having trouble figuring out how to open multiple new browser windows (each one displaying something different). As you can see from the code...
10
by: shankhar | last post by:
Hi all, In my project there is a requirement. If a user logged in at a time since he/she logged out others are not allowed to loggin using the same user name. That is to avoid multiple logins...
10
by: crazycooter | last post by:
I found an old thread on this (http://groups.google.com/group/alt.php/ browse_thread/thread/751edb9c723316c4/ea9bf92a9c6b807c?lnk=gst&q=mail() +duplicate&rnum=7#ea9bf92a9c6b807c), but there didnt...
0
by: damimkader | last post by:
Hi, I'm trying to send emails using a Macro based on an Excel Sheet and the Email Client I'm using is Lotus Notes. OS used - Windows Xp. Language - VB Below is the Code I'm using for doing...
0
by: rserrador | last post by:
Hello. I'm creating a db in access 2007 and i want to have a buton on a report where i can send bcc multiple emails from a query. Can someone help me with the VBA code please.
11
by: londres9b | last post by:
I want to send multiple emails from php with one unique script. The emails are from a mysql database table. How can I achieve this?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.