Jump to content

Archived

This topic is now archived and is closed to further replies.

xux

php+mysql is killing me

Recommended Posts

Thanks a lot,am not sure whether you will want to solve another simple problem for me again,sending the newsletter to all the emails in the database.
[code]
<?php
  $message = "<img src=\"http://www.smeresources.org/images/newsletter-header.jpg\" alt=\"Signature\"><h1>Testing Your Newsletter</h1>";

  // Set some parameters
  $toAddress = "d4dayo2001@yahoo.com";
  $subject = "Test Subject";
  $headers = "Content-type: text/html\n\n";

  // Try to send the message
  $success = mail($toAddress,$subject,$message,$headers);

  if($success){
      print "Newsletter Sent";
  }
  else{
      echo'Newwsletter could not be sent';
  } 
?>

[/code]
how can i implement integrate it to the codes above.
My Highest Regards
XUX

Share this post


Link to post
Share on other sites
I suggest posting this as a new question in the forum.  Tagging new questions onto existing posts like this reduces the amount of viewers considerably.

I'll take a look at it in the new post.

Regards
Rich

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.