Send an html page via email

Asked

Viewed 96 times

0

I’m in need of some help regarding how I can send a page’s html via email. In case, a client would enter a page and want to share this screen with someone, put the guy’s email in a form and soon after the guy could see the screen that was sent via email.

  • 1

    and what is the doubt? can put the code that is having problem to help us?

  • So I have no idea how to do this because I don’t have much knowledge yet. The site that uses this is https://www.newage.tur.br/new/? rv=20180508131346 by clicking Send to someone, you fill in a form and then the page you send to the sender. I believe this can be done with Phpmailer. Just to make it clear that I do not want the answer, I just want a north. Thank you for the collaboration.

  • then you should look for a full example that would better suit your case. You even have a question here: https://answall.com/questions/115048/enviar-e-mail-com-php-contendo-html?rq=1, and also this https://answall.com/questions/23602/como-enviare-mail-com-php and this: https://answall.com/questions/67012/dificuldades-no-send-and-mail-using-php

  • Thanks for the help, but this link is a simple email. I would like to send an html page in the body of the email (in this case, the page the user is on when sending the form).

  • Then, the first link I commented shows how to send html in the body of the email: https://answall.com/questions/115048/enviar-e-mail-com-php-contendo-html?rq=1

  • Keep in mind that emails do not work very well with html, in the sense that formatting, css, etc. will not be identical to what is shown in the browser, depending on the complexity of the page can even be well broken even the visual. Perhaps it would be better to capture an image of the screen and send.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.