Send email body (PHP pages)

View: New views
3 Messages — Rating Filter:   Alert me  

Send email body (PHP pages)

by alfredo ventura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

this message written in Spanish and translated into English on the internet.

I have a problem with PHPMailer send email wonders, but the body is a php page that performs a query to my database and displays information on all customers. The problem is that only sends the HTML code that is not on that page and sends the generated echo empresion ..

For that reason submit information about clients.

How do I send the customer information along with the html code?

I hope your answer .. thanks

Sincerely,

Manuel Hernandez
El Salvador


ESPANISH!!!

este mensaje lo escribi en espaƱol y lo traduje al ingles en internet.

tengo problemas con phpmailer,envia email de maravillas, pero el cuerpo es una pagina php que realiza una consulta a mi base de datos y muestra la informacion de todos los clientes. El problema es que solamente envia el codigo html que hay en esa pagina y no envia la empresion generada con echo..

Por tal motivo no envia la informacion de los clientes.

Que puedo hacer para que me envie la informacion de los clientes junto con el codigo html?

espero su respuesta.. gracias

atentamente,

Manuel Hernandez
El Salvador

--
Manuel Hernandez

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Phpmailer-general mailing list
Phpmailer-general@...
https://lists.sourceforge.net/lists/listinfo/phpmailer-general

Re: Send email body (PHP pages)

by Chris Weiss-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, May 30, 2009 at 10:39 AM, alfredo ventura <malfred192@...> wrote:

> this message written in Spanish and translated into English on the internet.
>
> I have a problem with PHPMailer send email wonders, but the body is a php
> page that performs a query to my database and displays information on all
> customers. The problem is that only sends the HTML code that is not on that
> page and sends the generated echo empresion ..
>
> For that reason submit information about clients.
>
> How do I send the customer information along with the html code?
>
> I hope your answer .. thanks
>
> Sincerely,
>
> Manuel Hernandez
> El Salvador

that's correct behavior.  You have to run the php code and store the
html it generates in a variable, then send the contents of that
variable as the email body

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Phpmailer-general mailing list
Phpmailer-general@...
https://lists.sourceforge.net/lists/listinfo/phpmailer-general

Re: Send email body (PHP pages)

by andy.prevost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In the script that sends your email, do not use MsgHTML() or Body()

Use AltBody only (text only)

Andy

--------------------------------------------------
From: "Chris Weiss" <cweiss@...>
Sent: Saturday, May 30, 2009 11:51 AM
To: "alfredo ventura" <malfred192@...>
Cc: <phpmailer-general@...>
Subject: Re: [Phpmailer-general] Send email body (PHP pages)

> On Sat, May 30, 2009 at 10:39 AM, alfredo ventura <malfred192@...>
> wrote:
>> this message written in Spanish and translated into English on the
>> internet.
>>
>> I have a problem with PHPMailer send email wonders, but the body is a php
>> page that performs a query to my database and displays information on all
>> customers. The problem is that only sends the HTML code that is not on
>> that
>> page and sends the generated echo empresion ..
>>
>> For that reason submit information about clients.
>>
>> How do I send the customer information along with the html code?
>>
>> I hope your answer .. thanks
>>
>> Sincerely,
>>
>> Manuel Hernandez
>> El Salvador
>
> that's correct behavior.  You have to run the php code and store the
> html it generates in a variable, then send the contents of that
> variable as the email body
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like
> Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> Phpmailer-general mailing list
> Phpmailer-general@...
> https://lists.sourceforge.net/lists/listinfo/phpmailer-general 


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Phpmailer-general mailing list
Phpmailer-general@...
https://lists.sourceforge.net/lists/listinfo/phpmailer-general