RE: [PHP-DB] Sending E-Mail
FYI... Not sure what your intentions are, but you can also send the form data from ANY form by putting the mailto:[EMAIL PROTECTED] statement in the action property of the form and using the POST method (I don't think it'll work with GET). You'll generate an e-mail with an attachment that contains your data in name=value pairs and you'll have to parse through the file to get the individual values. I tried it with one of my forms and got this in the attached file: docnum=6&contentID=1&addItem=&itemList%5B%5D=0&itemList%5B%5D=1&itemList%5B% 5D=2&submit=Submit+Query Note: The names itemList were submitted from a multiple select object. Whether you use the php mail() function or plain, old HTML mailto: is up to you and your specific needs. My guess, having never used php's mail() is that you'll get a little more functionality/flexibility from it. As always, your mileage may vary. > -Original Message- > From: tuxen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 1:27 PM > To: PHP Database List > Subject: Re: [PHP-DB] Sending E-Mail > > > just put the variables from the form into the mail() function > > On Wed, 2002-10-02 at 23:11, Shoulder to Shoulder Farm wrote: > > Sorry all, this IS off topic, but I always receive faster > answers from > > this group :-o! > > How can I send e-mail from PHP with the content of a submitted form. > > Thanks, Taj > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Sending E-Mail
just put the variables from the form into the mail() function On Wed, 2002-10-02 at 23:11, Shoulder to Shoulder Farm wrote: > Sorry all, this IS off topic, but I always receive faster answers from > this group :-o! > How can I send e-mail from PHP with the content of a submitted form. > Thanks, Taj > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Sending e-mail thru PHP page (2nd part)
on 4/19/01 10:46 AM, Hector M Banda at [EMAIL PROTECTED] wrote: > Is any way I can guess the users e-mail address? > I'm thinking in the way you setup your e-mail acct on the browser when > you first install it. There shouldn't be a way. I think you could access the email address via JavaScript in Netscape 1.0 or 2.0, but no modern browsers should support that. You'll just have to require entry into the field, check it on the server to see if it's valid, and if not, ask the user for a valid address. There are many ways to check email addresses. Check php.net, zend.com, or the general list archives for more info. Hope that helps. Sincerely, Paul Burney http://paulburney.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Sending e-mail thru PHP page (2nd part)
I don't know how you're operating your PHP system but can you not simply have an email form field?? Russ #---# "Believe nothing - consider everything" "Web Developers do it on-the-fly." Russ Michell Anglia Polytechnic University Webteam e: [EMAIL PROTECTED] w: www.apu.ac.uk/webteam t: +44 (0)1223 363271 x 2331 www.theruss.com #---# -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]