RE: [PHP] Automatically generated emails
[snip] This is probably a really simple question, but I can't work out what to write! I've written a fairly standard HTML form and I would like an email to be generated as soon as the user clicks 'Submit'. Can you help?! [/snip] Yes. I was able to conjure up a whole page of helpfulness! http://www.php.net/mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
You need to be __W__A__Y__ more specific. (the Capital letters and underscores were for added emphasis) On 8/29/05, Ravi Gogna [EMAIL PROTECTED] wrote: This is probably a really simple question, but I can't work out what to write! I've written a fairly standard HTML form and I would like an email to be generated as soon as the user clicks 'Submit'. Can you help?! Thanks Ravi Gogna -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
Ravi Gogna wrote: This is probably a really simple question, but I can't work out what to write! I've written a fairly standard HTML form and I would like an email to be generated as soon as the user clicks 'Submit'. Can you help?! Yes. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Automatically generated emails
[snip] Yes. [/snip] Watch out, this'll start a flood of why can't you be nice? e-mail John, any relatives still in LA? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply Jay Blanchard wrote: [snip] Yes. [/snip] Watch out, this'll start a flood of why can't you be nice? e-mail John, any relatives still in LA? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
Ravi - http://www.php.net/mail That page should get you on your way. ?php /* Stephen Johnson c | eh The Lone Coder http://www.ouradoptionblog.com Join our journey of adoption http://www.thelonecoder.com [EMAIL PROTECTED] continuing the struggle against bad code */ ? From: Ravi Gogna [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 29 Aug 2005 19:28:58 +0100 To: Jay Blanchard [EMAIL PROTECTED] Cc: John Nichel [EMAIL PROTECTED], php-general@lists.php.net Subject: Re: [PHP] Automatically generated emails Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
Ravi Gogna is quoted as saying on 8/29/2005 1:53 PM: This is probably a really simple question, but I can't work out what to write! I've written a fairly standard HTML form and I would like an email to be generated as soon as the user clicks 'Submit'. Can you help?! Sure, but what do you want the email to say? I mean, it could be such that when they click submit it sends them a BOGO email where they can get two-fers of information, but then, why did they click submit in the first place? The answer is, it is REALLY simple to send email (even more so if the mail server is set correctly in the ini file and on the same system), but without more information, can't really help you except to point you to the manual or Google. PHP.net: http://us2.php.net/mail Google: http://www.google.com/search?sourceid=mozclientie=utf-8oe=utf-8q=PHP%3Amail HTH, Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 512 BrickHaven Drive Suite 220L, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
Dude, Im a new guy too..If u don't even provide a code do you THINK we will all write email a code to u? Chirantan Ghosh PS: I think a little modesty is in order asking for help. We have the neatest, helpful people around here. - Original Message - From: Ravi Gogna [EMAIL PROTECTED] To: Jay Blanchard [EMAIL PROTECTED] Cc: John Nichel [EMAIL PROTECTED]; php-general@lists.php.net Sent: Monday, August 29, 2005 2:28 PM Subject: Re: [PHP] Automatically generated emails Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply Jay Blanchard wrote: [snip] Yes. [/snip] Watch out, this'll start a flood of why can't you be nice? e-mail John, any relatives still in LA? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
Ravi Gogna wrote: Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply snip Help != Holding One's Hand -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Automatically generated emails
[snip] Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply [/snip] I think, if I recall correctly, that you were provided with the web address of the manual specifically relating to e-mail. You asked, Can you help?!. The answer to that is either yes, no, or maybe. I will now refer you to the following http://catb.org/~esr/faqs/smart-questions.html I hope that this helps you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
LOL. They could have opened up their browser window and performed the following: http://www.google.com/search?hl=enq=php+send+email+after+form+submitbtnG=Google+Search But I think they were trying to suggest that you 1. do the same, or 2. ask a more specific question. kgt Ravi Gogna wrote: Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply Jay Blanchard wrote: [snip] Yes. [/snip] Watch out, this'll start a flood of why can't you be nice? e-mail John, any relatives still in LA? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
The thing is that we do want to help. We want everyone to have as positive experience as possible with PHP, and I've personally spent hours in the past helping people with their various PHP Problems, both on this list and elsewhere, so you'll understand if I take issue with your suggestions. Most of us here on the PHP list, and particularly the majority of those who have responded to this post are in the habit of bending over backwards to help people out... BUT: We need something to work with, and you haven't given us much. You need to give us WAY more information. What part of generating the email are you having problems with? Are you for example having problems getting the information from the form, in your PHP script? Are you having problems getting the mail() function to work? Are you having problems getting the text into the format that you want it in? You've asked a very broad question, and unless you can focus it down a bit, then all we can do is either ask you for clarification, or direct you to the PHP manual. In this case, I would direct you to the pages for predetermined variables(in this case $_GET and $_POST), sprintf, and mail www.php.net/manual/en/reserved.variables.php#reserved.variables.get , www.php.net/sprintf , and www.php.net/mail It would take a very long answer, and a waste of ours and the manual writers time if we simply rewrote what was already in the manual. Having that said, feel free at any stage to ask us for clarification of something you don't understand, but we request that you make some reasonable effort to solve your own problems before jumping to the list. On 8/29/05, Ravi Gogna [EMAIL PROTECTED] wrote: Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply Jay Blanchard wrote: [snip] Yes. [/snip] Watch out, this'll start a flood of why can't you be nice? e-mail John, any relatives still in LA? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Automatically generated emails
Rory Browne wrote: The thing is that we do want to help. We want everyone to have as positive experience as possible with PHP, and I've personally spent hours in the past helping people with their various PHP Problems, both on this list and elsewhere, so you'll understand if I take issue with your suggestions. Most of us here on the PHP list, and particularly the majority of those who have responded to this post are in the habit of bending over backwards to help people out... BUT: We need something to work with, and you haven't given us much. You need to give us WAY more information. What part of generating the email are you having problems with? Are you for example having problems getting the information from the form, in your PHP script? Are you having problems getting the mail() function to work? Are you having problems getting the text into the format that you want it in? You've asked a very broad question, and unless you can focus it down a bit, then all we can do is either ask you for clarification, or direct you to the PHP manual. In this case, I would direct you to the pages for predetermined variables(in this case $_GET and $_POST), sprintf, and mail www.php.net/manual/en/reserved.variables.php#reserved.variables.get , www.php.net/sprintf , and www.php.net/mail It would take a very long answer, and a waste of ours and the manual writers time if we simply rewrote what was already in the manual. Having that said, feel free at any stage to ask us for clarification of something you don't understand, but we request that you make some reasonable effort to solve your own problems before jumping to the list. On 8/29/05, Ravi Gogna [EMAIL PROTECTED] wrote: Nice to know that newbies are well looked after on these lists. If you didn't wanna help, you could have not clicked reply Jay Blanchard wrote: [snip] Yes. [/snip] Watch out, this'll start a flood of why can't you be nice? e-mail John, any relatives still in LA? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php While we're on the subject... Stop top-posting. ;) Seriously, however - as others have suggested, http://www.php.net/mail should get you well on your way. Use the manual as your number one reference. If you cannot figure it out using that, then resort to the list. You're more than welcome to write to the list at any point in time, however, if you do a bit of research first, it will save a considerable amount of time for both you and us. Hope that helps -dant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php