Results 1 to 2 of 2
  1. #1
    Full Member Code Monkey's Avatar
    Join Date
    June 11th, 2007
    cURL & PHP to email a webpage
    I want to use cURL to grab a webpage, then use PHP to send that webpage as an HTML email...

    I can easily grab a webpage via curl. If I then display the webpage in a browser, no problem.. But when I email what cURL has grabbed, I just get the html code when read within an email program..

    What do I need to do, either via cURL or PHP, that would allow the output from cURL to be viewed as an html email?


  2. #2
    Join Date
    December 6th, 2006
    This isn't a curl issue - I think you have to specify the MIME type when you send the mail using mail().

    Alternatively you could get the html, save it to a file, and them email it to yourself as .htm and view it from a browser.

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. List Managers & cURL
    By Hyphen in forum Building Traffic, Newsletters & Advertising
    Replies: 2
    Last Post: January 21st, 2011, 09:13 AM
  2. Using GoldCan & Curl
    By cdunde1 in forum GoldenCAN
    Replies: 11
    Last Post: August 27th, 2008, 04:23 PM
  3. Using PHP to gather email address from bounced email
    By Code Monkey in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: August 22nd, 2008, 10:09 AM
  4. CURL PHP Option for GoldenCAN?
    By Caseyfern in forum GoldenCAN
    Replies: 0
    Last Post: May 27th, 2008, 12:29 AM
  5. New Email links clicked from a webpage trackable or not ?
    By Vrindavan in forum Commission Junction - CJ
    Replies: 0
    Last Post: July 25th, 2006, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts