Re: [PHP-DB] Re: form results to email

2004-07-31 Thread Jason Wong
On Saturday 31 July 2004 23:25, Vincent Jordan wrote:

> I have tried to add some html such as "$firstname $lastname
> ..."; however when I do this there is nothing displated in
> the email message.

google > html mime message

Or look on www.phpclasses.org 

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
The world does not revolve on an axis
-- Murphy's Laws on Sex n52
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] Re: form results to email

2004-07-31 Thread Vincent Jordan


>I wrote this, $message is not displaying. What am I doing wrong??

Nevermind. I forgot to add method="post" to the html page.

I have gotten it to work however I would like to add some formatting to
the email. Sent. I currently have:

$message = "$firstname $lastname .";
mail("[EMAIL PROTECTED]", "RMA Request", $message);

I have tried to add some html such as "$firstname $lastname
..."; however when I do this there is nothing displated in
the email message. 

I have also tried $message = echo "$firstname $lastname
..."; and got errors.

So then I figured I would try a function. And tried this:
Function prtmsg() {
echo "$firstname $lastname ...";
}
$message = prtmsg();

and again I get a bland email returned. Could someone kindly point out
what im missing?

Thanks Vinny

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] Re: form results to email

2004-07-30 Thread Vincent Jordan
I wrote this, $message is not displaying. What am I doing wrong??








> -Original Message-
> From: Torsten Roehr [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 30, 2004 2:52 PM
> To: Vincent Jordan
> Subject: RE: [PHP-DB] Re: form results to email
> 
> > > -Original Message-
> > > From: Torsten Roehr [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, July 30, 2004 2:12 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [PHP-DB] Re: form results to email
> > >
> > > "Vincent Jordan" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]
> > > > We have to process almost the same information via email
> > several times a
> > > day
> > > > for customers to get items repaired. I would like to reply to their
> > > email
> > > > with a .htm page containing a fill in form, on form action it
> > will send
> > > an
> > > > email.
> > > >
> > > >
> > > >
> > > > I have the form and page created, all is almost working. Im having
> > > problems
> > > > with the mailto syntax. What I would like is just the values of the
> > > fileds
> > > > to print on the return mail with out the field names. Keep in
> > mind this
> > > .htm
> > > > page will be sent to them in an email so all they have to do
> > is fill in
> > > the
> > > > form, hit submit and it will create a new message to be sent.
> > >
> > > Hi Vincent,
> > >
> > > wouldn't it be easier to point the form (action) to a web
> > script that will
> > > then email the values to wherever it needs to be sent? This
> > would require
> > > one less step from the user.
> > >
> > > Regards, Torsten Roehr
> >
> > Torsten,
> >
> > I guess it would be more simple. Could I for example  > action="http://www.mydomain.com/email/something.php";> and have
> > the values go
> > to the page without the user opening an explorer window?
> 
> Where do they view the form? Probably in Outlook or IE. Haven't tested
> submitting a form within Outlook yet. Maybe you could try it out. Would be
> glad to know what you experience.
> 
> Thanks and regards, Torsten

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php