nuno_couto Posted July 23, 2006 at 10:47 PM Report #39800 Posted July 23, 2006 at 10:47 PM Boas. Através do comando mail, em PHP, consigo enviar um email "simples" sem formatação de texto. Por exemplo: mail( teste@email.com , "negócio importante" , "$msg" , "From: meu@email.com" " ); sendo que: $msg="Boa Tarde"; Neste caso estou a enviar texto simples Mas se eu tentar o seguinte: $msg="Boa <b>tarde</b>"; Em vez de enviar o email com o termo Boa tarde, envio o código html sem qualquer formatação (Boa <b>tarde</b>) Alguem sabe resolver isto? portalmundial.net »» criamos sites
aparicio Posted July 24, 2006 at 09:47 AM Report #39860 Posted July 24, 2006 at 09:47 AM solução: mail("$para",$assunto,"$html", "From: $de \nContent-type: text/html\n");
nuno_couto Posted July 31, 2006 at 06:35 PM Author Report #41378 Posted July 31, 2006 at 06:35 PM Obrigado. Funciona mt bem... portalmundial.net »» criamos sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now