Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

Attach/export HTTP page to email

I have a PHP which is called quite regularly. It provides additional info regarding rows of data on a page. One of the requests is to be able to email this data. (And email this data for multiple rows as a single attachement.)

My logic says I need to call the page on the server (bypassing authentication), render the php to html. Save the output to an HTML file. Then attach and send email. If multiple rows are ticked, it would join the HTML on rendering.

Am I missing anything? Any tips/suggestions?
0
xpandit
Asked:
xpandit
  • 3
  • 3
1 Solution
 
user_nCommented:
0
 
xpanditAuthor Commented:
Am I missing something in the link? Mime covers how I would attach the export, but I would surely still need to generate the file? Is my logic in my original question correct?
0
 
user_nCommented:
I have worked with sip packets and mime there, and I have no much experience with html mime. Some more info
http://tools.ietf.org/html/rfc2045
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Ray PaseurCommented:
Please show us the inputs you have and the outputs you want.  I am sure we can show you the code to bridge the gap once we know those things.  Thanks, ~Ray
0
 
xpanditAuthor Commented:
I used CURL to save the html output to a temporary file. I then atatched it to an emal. My logic was correct.
0
 
xpanditAuthor Commented:
It worked.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now