Jump to content

Bradillac

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Bradillac's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That sends an HTML email all right.  But the structure of what I'm trying to do goes like this: Send a form.  That form adds all it's information to a database.  There is a page (we'll call it newsletter.php) on the server that changes depending on the values stored in that database.  After updating the form I need to send newsletter.php as html with all its images attached.  The attached images part isn't as necessary because I can code the page to link to all images using full urls. 
  2. This is my first post, so I feel obligated to give a little background.  To make it short, basically I used to be an ASP developer and now I've jumped head first into PHP.  The transition has been nothing but positive so far and I'm amazed at how many things transfer over. I do have one problem however.  In ASP it's possible to, when sending an email with a script, link the script to another page.  So basically the script takes from the server all the images and the html from that page and puts them in the email.  So if I were to link it to a PHP page it would send the html version of it.  Basically it's an easy way to make newsletters. The code looks something like this: <% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="mymail@mydomain.com" myMail.To="someone@somedomain.com" myMail.CreateMHTMLBody "http://www.w3schools.com/asp/" myMail.Send set myMail=nothing %> I haven't found any scripts that do this similarly in PHP so.. I thought I'd come and exploit the friendly community here.  Sorry to exploit you guys but, I know people here know what they're talking about...
×
×
  • Create New...

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.