Convert the php page to pdf and send it via email. Solution

Source: Internet
Author: User
The php page is converted to pdf and then sent by email. I want to implement a ordering system. In general, if someone else clicks a website, it will be automatically sent to our fax machine. (If an email is sent, the fax machine can only print the attachments, pdf, or other information in the email, but cannot print the body. So if I want someone else to order and pay for it online, the order php page will be converted to pdf and then sent by email.
I want to implement a ordering system. In general, if a website is ordered by someone else, it will be automatically sent to our fax machine. (If it is an email, it has already been implemented)
However, the fax machine can only print attachments in the email, pdf files or something, but cannot print the body.

So if I want someone else to open a ticket and pay for it online, when the order is successfully displayed on the page, the background will automatically convert the order to a PDF file, add it to the attachment, and then send it by mail, I don't know how to convert to pdf or add attachments.

Are there examples of high people?

------ Solution --------------------
Tcpdf is recommended, without silver. Supports Chinese, Traditional Chinese, Japanese, and Korean
------ Solution --------------------
To convert pdf files, you can use tcpdf. This supports large character sets. For more information about how to send attachments, see the manual.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.