Select Emails and Mail them some body altogether

Select Emails and Mail them some body altogether

Hi

I have been struggling to get this option incorporated into the following code

Requirement :- What should I do to select the emails in the following image and email them all directly from outlook with mail() option. They should have checkboxes next to them or some other method with which we can select them. The emails are all stored in an SQL Database. Please do let me know. Thank you for all the help in advance.

[php]
#navigat {
color: #000000;
font: 14px/24px sans-serif;
margin: 0 auto;
padding: 0;
width: 100%;
float:left;
margin-bottom:15px;
}
#navigat .btn {
border-radius: 5px 5px 5px 5px;
color: #000000;
display: inline-block;
font-size: 0.875em;
padding: 10px;
}
#navigat .paginat {
float: right;
margin-bottom: 0;
padding: 0;
}
#navigat .page {
background: none repeat scroll 0 0 #E9E9E9;
border: 1px solid #c6c6c6;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0. 8) inset, 0 1px 3px rgba(0, 0, 0, 0.1);
color: #000000;
display: inline-block;
font-size: 0.875em;
font-weight: bold;
margin-right: 4px;
padding: 0 9px;
text-decoration: none;
text-shadow: 0 1px 0 #FFFFFF;
}
#navigat .page:hover, #navigat .page.gradient:hover {
background: none repeat scroll 0 0 #333333;
border: 1px solid #333333;
color: #FFFFFF;
}
#navigat .page.active {
background: none repeat scroll 0 0 #333333;
border: medium none;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) inset, 0 1px 0 rgba(255, 255, 255, 0. 8);
color: #F0F0F0;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
#navigat .page.gradient {
background: none repeat scroll 0 0 #c6c6c6;
}

<?php if(isset($_GET['msg'])){ ?>

<?php echo str_replace("_"," ",$_GET['msg']); ?>

<?php } ?>
         <?php /*?> <select name="blocked_mod" id="blocked_mod"  onchange="change_stat();" >
            <option <?php if(isset($_GET['type']) && $_GET['type']=='all'){ echo 'selected="selected"';} ?>  value="all">All</option>
              <option <?php if(isset($_GET['type']) && $_GET['type']=='active'){ echo 'selected="selected"';} ?> value="active">Active</option>
                    <option <?php if(isset($_GET['type']) && $_GET['type']=='in-active'){ echo 'selected="selected"';} ?> value="in-active">In-Active</option>
          </select><?php */?>
         <div class="chkBobexs">
</tr>
<tr>
<td class='yl_tb'>&nbsp;</td>
<td class='yl_tb' height='25'  align="right">Gender</td>
<td class='yl_tb1' style="padding-left:14px">
<select size="1" name="fsex1" class="yl_tb2" style="width:195px;" id="fsex1">
        <option value="">All</option>
        <option value="M">Male</option>
        <option value="F">Female</option>
        <option value="B">Boy</option>
        <option value="G">Girl</option>
</tr>

<tr>
    <td width="15">&nbsp;</td>
    <td width="66" class='yl_tb' height='25' align="right">Search Value</font></td>

    <td style="padding-left:14px" id="search_by">
</tr>
<tr>
    <td class='yl_tb'>&nbsp;</td>

    <td class='yl_tb'>

    <td class='yl_tb'><div align="right" style="padding-right:70px">
            <input name="searchbtn" type="submit" class="" id="searchbtn" value="Search" style="cursor:pointer;" />
        </div></td>
</tr>
  Search For Search For All MODELS PROMOTERS CAST STYLISTS LOCATIONS PHOTOGRAPHERS ENTERTAINERS EVENTS PUBLIC RELATIONS PRODUCTION STOCK IMAGES OUR WORK DIRECTORS AWARDS
  Name
  Search By Search for All ID Ethnicity Email Contact Number City Nationality Age
      <div class="sep"></div>
        
      <div class="rt"> <a class="button add" href="add_new_model.php">Add New Model</a>
        <?php /*?><?php 

if($_SESSION[‘LateItWebAdmin’][‘username’]==‘superadmin’ || $_SESSION[‘LateItWebAdmin’][‘sID’]== 1 || $_SESSION[‘LateItWebAdmin’][‘username’]==‘Nicole’)
{
if($RecordCount>0){ ?>
 

<?php }
}
?><?php */?>




<?php if($RecordCount>0){ ?>













<?php
while($rowfe = mysql_fetch_array($seldata))
{
?>
<?php ?>


ID Image Detail Gender Category Nationality Modify
<?php echo $rowfe['id']; ?> <?php
$imageseldata = $obj->selectQuery(“SELECT * FROM model_image WHERE fmodel_id = '”.$rowfe[‘fmodel_id’]."’ ORDER BY disp_priority DESC LIMIT 1");
$i_row = mysql_fetch_array($imageseldata);

if($i_row[‘image_name’] != ‘’)
{
?>

<?php
}
else{
?>

<?php } ?>

<?php $dobyear = date('Y',strtotime($rowfe['fdateofbirth'])); $curyear = date('Y'); $ages = $curyear - $dobyear;?>
Name: <?php echo $rowfe['ffirst_name'].' '.$rowfe['flast_name']; ?>
Email: <?php echo $rowfe['femail']; ?>
Age:<?php echo $ages.'{'.$rowfe['fdateofbirth'].'}'; ?>
Mobile: <?php if(!empty($rowfe['fmobile_no'])) echo $rowfe['fmobile_no']; else echo $rowfe['fmobile']; ?>
<?php if($rowfe['fsex']=='F'){ echo 'Female';}elseif($rowfe['fsex']=='ma' || $rowfe['fsex']=='m' || $rowfe['fsex']=='M'){ echo 'Male';}elseif($rowfe['fsex']=='G'){ echo 'Girl'; }elseif($rowfe['fsex']=='B'){ echo 'Boy'; } ?> <?php echo $rowfe['fdiva_cat']; ?> <?php echo $rowfe['fnation']; ?> Preview
Edit Image
Delete Record?
            </td>
        </tr>    
<?php } ?>
      </tbody>
    </table>
    <?php } else {

echo ’

';
echo ‘

No Record Found!

</div’;
}?>

  <?php 

if(isset($_REQUEST[‘searchbtn’])){
/echo pagination($perpage,$page, ‘http://divadubai.com…hp?blocked_mod=’.$_REQUEST[‘blocked_mod’].’&search_for_divacat=’.$_REQUEST[‘search_for_divacat’].’&search_by_dd=’.$_REQUEST[‘search_by_dd’].’&fmodel_id=’.$_REQUEST[‘fmodel_id’].’&search_val=’.$_REQUEST[‘search_val’].’&fcity=’.$_REQUEST[‘fcity’].’&searchbtn=Serach&start=’.$start.’&perpage=’.$perpage.’&page=’,$RecordCount);/ //call function to show pagination
echo pagination($perpage,$page, 'http://divadubai.com…,$RecordCount);
}else{

echo pagination($perpage,$page, ‘http://divadubai.com…dels.php?start=’.$start.’&perpage=’.$perpage.’&page=’,$RecordCount); //call function to show pagination

}
?>

</div>
<?php $nationality = $obj->selectQuery("SELECT DISTINCT fnation FROM model_data ORDER BY fnation ASC"); $nationality_html = ''; while($nationality_res = mysql_fetch_object($nationality )){ $nationality_html .= ''.$nationality_res->fnation.''; } $nationality_html .= ''; ?> <?php include("includes/footer.php"); ?>

[/php]


First, please put the code between the php tags and you will find the button in the editor when you post. Second, narrow down the code where you think you’ll having the problem and only post that, as of right now I have the foggiest clue where or what the problem is. If more code is need the person(s) helping you will tell you that they need to see more code.

Lastly, turn on error reporting:
[php]<?php
/* Turn on error reporting */
ini_set(‘display_errors’, 1);
ini_set(‘display_startup_errors’, 1);
error_reporting(-1);[/php]

What should I do to select the emails in the following image and email them all directly from outlook with mail() option.

That is not how this works. If you want a plugin that sends directly from outlook, you need to look at languages that can talk to the outlook mail client. PHP sends mail from the server that hosts the script.

Sponsor our Newsletter | Privacy Policy | Terms of Service