Re: [php-list] Sending emails from form

2008-04-16 Thread John Black
On Tue, 2008-04-15 at 22:29 +, fremaje31 wrote: > Hello All, > What should I put in the $to if I want an email sent to a user whose > page is being viewed? Here's the page > http://mybusinesscircle.startlogic.com/event_details.php?id=29 > At the bottom there is a link "Sponsor this Event". Pl

[php-list] Sending emails from form

2008-04-15 Thread fremaje31
Hello All, What should I put in the $to if I want an email sent to a user whose page is being viewed? Here's the page http://mybusinesscircle.startlogic.com/event_details.php?id=29 At the bottom there is a link "Sponsor this Event". Please click on the link and see the form. I want the emai

Re: [php-list] Sending emails from form

2008-04-04 Thread James Keeline
--- T L <[EMAIL PROTECTED]> wrote: > *Here's the code for the main page.* > > $subject="My Business Circle Invitation"; > $headers = "From: My Business > Circle<[EMAIL PROTECTED]>\r\n<[EMAIL PROTECTED]> > "; > $headers.= "Content-type: text/html; charset=us-ascii"; > $body = ""; > $body .= 'Hi'

Re: [php-list] Sending emails from form

2008-04-04 Thread T L
*Here's the code for the main page.* function submitform() { document.forms[0].action='myAccount.php'; document.forms[0].submit(); }