php mail and message = web page 
Author Message
 php mail and message = web page

how do you have the message of an email be a web page? i would like it
be a .php page which passes an query string into it. the page is
processed and then becomes the body of an email.

thanks for your help.

nicholas



Sun, 26 Jun 2005 04:35:36 GMT  
 php mail and message = web page
Quote:

> how do you have the message of an email be a web page? i would like it
> be a .php page which passes an query string into it. the page is
> processed and then becomes the body of an email.

> thanks for your help.

> nicholas

Since PHP is server-side, you'll need to just put a link to the page
which is stored on your server, in the email.

Jasper



Sun, 26 Jun 2005 08:28:11 GMT  
 php mail and message = web page
Quote:


>> how do you have the message of an email be a web page? i would like it
>> be a .php page which passes an query string into it. the page is
>> processed and then becomes the body of an email.

>> thanks for your help.

>> nicholas

> Since PHP is server-side, you'll need to just put a link to the page
> which is stored on your server, in the email.

> Jasper

Alternatively, you could make the page an HTML document and include an
IFRAME in it to include the PHP page in the email. Not sure if this will
work on all mail clients though.

To see how to make HTML mail from php, read http://www.php.net/mail



Sun, 26 Jun 2005 08:29:21 GMT  
 php mail and message = web page
Hello,


Quote:
> how do you have the message of an email be a web page? i would like it
> be a .php page which passes an query string into it. the page is
> processed and then becomes the body of an email.

You can use this class to compose and send e-mail messages. It has a
function name AddFilePart() that lets you add a message part to your
message that is a filename to be passed to fopen(). So you can pass it a
URL of a page that will be read like a file and included in your message
like a file.

http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos



Sun, 26 Jun 2005 09:38:55 GMT  
 php mail and message = web page

Quote:

> Alternatively, you could make the page an HTML document and include an
> IFRAME in it to include the PHP page in the email. Not sure if this will
> work on all mail clients though.

and alot of programs that are designed to block virii entering a
network through email (e.g. MailSweeper) will block the message
because of the iFrame. trust me.

--
Registered Linux User #273744
<www.volutin.net -- everything irrelevant>
now playing :: [winamp not running]



Mon, 27 Jun 2005 20:31:02 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. mail function-- web hosting-- php

2. Dataflow Mailing List & Web Page

3. Sending E-mail from a Web Page.

4. Agent for Microsoft Mail using Prolog (Web page announcement)

5. MailBot Microsoft Mail Agent Web Page

6. Tcl/Tk mailing list and web page

7. send mail using SMTP Send Message when mail server is unknown

8. PHP Web Hosting Shop - Find Your Web Hosting

9. any thoughts on creating jsp counterpart (rsp, ruby server pages) for dynamic web pages

10. dB Web Builder - Insert xBase Expressions into HTML to Generate Web Pages

11. Doubtful that this is a PHP issue but parent PHP page unable to load new pages or go back after popup

12. Mailing from php

 

 
Powered by phpBB® Forum Software