Default Joomla Mass Mail - Sending Individually - Joomla! Forum - community, help and support


i've never used default mass mail component in joomla tried last night because maybe once or twice year might send out important notice members rather not have newsletter component added.

the problem discovered when doing test mail out when receive email, "all" recipients addresses shown there means gets see everyone. think this... have 1000 members or more, can problem.

is there way change every member mail see own email address within , not else's? in other words, each person receives copy of mail individually, not combined group being shown.

thanks in advance!

hopefully, you'll nice simple joomla answer, if not...

i not yet familiar joomla's classes, quick way me write own app reads member table , sends individually. here's actual script.. (i'll assume can write sql part..)

code: select all

while ($row = mysql_fetch_object($result)) {
  /* recipients */
 // $to = $row->email;
 $to = "computer reseller <" . $row->email . ">";
  $link = "http://www.rs-kit.com/users/mbr_activate.php?id=" . $row->id . "&pwd=" . $row->password;
  /* message */
  $message = "
  <html>
  <head>
   <title>resellers source kit membership activation</title>
  </head>
  <body>
    <p>the resellers source kit (rs-kit.com) members-only website.</p>
    <p>to transfer current subscription, please activate account within 5 days.</p>
    <p>click <a href='$link'>here</a> activate account , see our new site.</p>
    <p>non members able search computer retail outlets region, etc. members can search wholesale sources region, product, etc.</p>
    <p>this means you'll want add or update company profile future customers can find you.</p>
   ..blah, blah..
    <p>i forward seeing here.</p><br>
    <p>
    - kevin king<br>
      <a href='http://www.rs-kit.com'>the resellers source kit</a></p>
  </body>
  </html>
  ";

  /* send html mail, can set content-type header. */
  $headers  = "mime-version: 1.0\n";
  $headers .= "content-type: text/html; charset=iso-8859-1\n";

  /* additional headers */
  $headers .= "from: resellers source kit <admin@rs-kit.com>\r\n";

  /* , mail */
  mail($to, $subject, $message, $headers);

?>

if you're not using recipient's name, or in message, message , subject can (and should) defined outside of loop.





Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support