What I want is when the user click on the submit button the data from this
form should directly comes to my email. I tried mail function but not
working for me. I just need these 3 fields in my mail. Please help me with
this.
--=20
*Best,
*
*Guru=99*
--e0cb4e887af1f7a09604a016cb1f--
Re: Need Help with PHP Mails
am 04.04.2011 14:48:26 von Richard Quadling
2011/4/4 Guruâ=A2 :
> Hi All,
>
> I have this HTML form
>
>
>
>
> Â
> Â Â
> Â Â Â
> Â Â Â Â
=3D"submit">
> Â Â Â
> Â Â
> Â
>
>
>
>
> ____________________________________________________________ _____________=
___
>
> What I want is when the user click on the submit button the data from thi=
s
> form should directly comes to my email. I tried mail function but not
> working for me. I just need these 3 fields in my mail. Please help me wit=
h
> this.
>
> --
> *Best,
> *
> *Guruâ=A2*
>
As this is a PHP for Windows mailing list, I assume you actually are
having a problem with PHP on Windows?
And not your HTML code.
As you are in a PHP for Windows mailing list, I assume you are on
Windows, which, as you are now experiencing, doesn't have a mail
server built in, nor an app you can run that provides the same
facility.
See http://uk.php.net/manual/en/book.mail.php for all the lovely
documentation, especially with the runtime configuration options.
Most likely, you've not set these appropriately.
But, in short, you are going to need to tell us what is NOT working
for any realistic help.
Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
PHPMailer is another tool that does a similar job. It may be better,
I've just never used it.
Regards,
Richard.
P.S. "Guru"? Really?
--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Need Help with PHP Mails
am 04.04.2011 14:48:26 von Richard Quadling
2011/4/4 Guruâ=A2 :
> Hi All,
>
> I have this HTML form
>
>
>
>
> Â
> Â Â
> Â Â Â
> Â Â Â Â
=3D"submit">
> Â Â Â
> Â Â
> Â
>
>
>
>
> ____________________________________________________________ _____________=
___
>
> What I want is when the user click on the submit button the data from thi=
s
> form should directly comes to my email. I tried mail function but not
> working for me. I just need these 3 fields in my mail. Please help me wit=
h
> this.
>
> --
> *Best,
> *
> *Guruâ=A2*
>
As this is a PHP for Windows mailing list, I assume you actually are
having a problem with PHP on Windows?
And not your HTML code.
As you are in a PHP for Windows mailing list, I assume you are on
Windows, which, as you are now experiencing, doesn't have a mail
server built in, nor an app you can run that provides the same
facility.
See http://uk.php.net/manual/en/book.mail.php for all the lovely
documentation, especially with the runtime configuration options.
Most likely, you've not set these appropriately.
But, in short, you are going to need to tell us what is NOT working
for any realistic help.
Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
PHPMailer is another tool that does a similar job. It may be better,
I've just never used it.
Regards,
Richard.
P.S. "Guru"? Really?
--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Richard,
I am using simple PHP mail function but, I am unable to send an email to
myself. What I want is when the user click on submit button I should get an
email with the form data.
2011/4/4 Richard Quadling
> 2011/4/4 Guru=99 :
> > Hi All,
> >
> > I have this HTML form
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> ____________________________________________________________ _____________=
___
> >
> > What I want is when the user click on the submit button the data from
> this
> > form should directly comes to my email. I tried mail function but not
> > working for me. I just need these 3 fields in my mail. Please help me
> with
> > this.
> >
> > --
> > *Best,
> > *
> > *Guru=99*
> >
>
> As this is a PHP for Windows mailing list, I assume you actually are
> having a problem with PHP on Windows?
>
> And not your HTML code.
>
> As you are in a PHP for Windows mailing list, I assume you are on
> Windows, which, as you are now experiencing, doesn't have a mail
> server built in, nor an app you can run that provides the same
> facility.
>
> See http://uk.php.net/manual/en/book.mail.php for all the lovely
> documentation, especially with the runtime configuration options.
>
> Most likely, you've not set these appropriately.
>
> But, in short, you are going to need to tell us what is NOT working
> for any realistic help.
>
> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
> PHPMailer is another tool that does a similar job. It may be better,
> I've just never used it.
>
> Regards,
>
> Richard.
>
> P.S. "Guru"? Really?
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
Hi Richard,
I am using simple PHP mail function but, I am unable to send an email to
myself. What I want is when the user click on submit button I should get an
email with the form data.
2011/4/4 Richard Quadling
> 2011/4/4 Guru=99 :
> > Hi All,
> >
> > I have this HTML form
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> ____________________________________________________________ _____________=
___
> >
> > What I want is when the user click on the submit button the data from
> this
> > form should directly comes to my email. I tried mail function but not
> > working for me. I just need these 3 fields in my mail. Please help me
> with
> > this.
> >
> > --
> > *Best,
> > *
> > *Guru=99*
> >
>
> As this is a PHP for Windows mailing list, I assume you actually are
> having a problem with PHP on Windows?
>
> And not your HTML code.
>
> As you are in a PHP for Windows mailing list, I assume you are on
> Windows, which, as you are now experiencing, doesn't have a mail
> server built in, nor an app you can run that provides the same
> facility.
>
> See http://uk.php.net/manual/en/book.mail.php for all the lovely
> documentation, especially with the runtime configuration options.
>
> Most likely, you've not set these appropriately.
>
> But, in short, you are going to need to tell us what is NOT working
> for any realistic help.
>
> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
> PHPMailer is another tool that does a similar job. It may be better,
> I've just never used it.
>
> Regards,
>
> Richard.
>
> P.S. "Guru"? Really?
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
--=20
*Best,
*
*Guru=99*
--e0cb4e887af1e127e804a0174914--
Re: [PHP-WIN] Need Help with PHP Mails
am 04.04.2011 15:00:50 von Richard Quadling
2011/4/4 Guruâ=A2 :
> Hi Richard,
> I am using simple PHP mail function but, I am unable to send an email to
> myself. What I want is when the user click on submit button I should get =
an
> email with the form data.
>
>
>
> 2011/4/4 Richard Quadling
>>
>> 2011/4/4 Guruâ=A2 :
>> > Hi All,
>> >
>> > I have this HTML form
>> >
>> >
>> >
>> >
>> > Â
>> > Â Â
>> > Â Â Â
>> > Â Â Â Â
e=3D"submit">
>> > Â Â Â
>> > Â Â
>> > Â
>> >
>> >
>> >
>> >
>> >
>> > ____________________________________________________________ __________=
______
>> >
>> > What I want is when the user click on the submit button the data from
>> > this
>> > form should directly comes to my email. I tried mail function but not
>> > working for me. I just need these 3 fields in my mail. Please help me
>> > with
>> > this.
>> >
>> > --
>> > *Best,
>> > *
>> > *Guruâ=A2*
>> >
>>
>> As this is a PHP for Windows mailing list, I assume you actually are
>> having a problem with PHP on Windows?
>>
>> And not your HTML code.
>>
>> As you are in a PHP for Windows mailing list, I assume you are on
>> Windows, which, as you are now experiencing, doesn't have a mail
>> server built in, nor an app you can run that provides the same
>> facility.
>>
>> See http://uk.php.net/manual/en/book.mail.php for all the lovely
>> documentation, especially with the runtime configuration options.
>>
>> Most likely, you've not set these appropriately.
>>
>> But, in short, you are going to need to tell us what is NOT working
>> for any realistic help.
>>
>> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
>> PHPMailer is another tool that does a similar job. It may be better,
>> I've just never used it.
>>
>> Regards,
>>
>> Richard.
>>
>> P.S. "Guru"? Really?
>> --
>> Richard Quadling
>> Twitter : EE : Zend
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
>
>
> --
> Best,
> Guruâ=A2
>
>
So, just like I said, you haven't setup PHP's mail configuration
options and/or you don't have a local SMTP server.
Without these being correct, you won't get any email.
--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Need Help with PHP Mails
am 04.04.2011 15:00:50 von Richard Quadling
2011/4/4 Guruâ=A2 :
> Hi Richard,
> I am using simple PHP mail function but, I am unable to send an email to
> myself. What I want is when the user click on submit button I should get =
an
> email with the form data.
>
>
>
> 2011/4/4 Richard Quadling
>>
>> 2011/4/4 Guruâ=A2 :
>> > Hi All,
>> >
>> > I have this HTML form
>> >
>> >
>> >
>> >
>> > Â
>> > Â Â
>> > Â Â Â
>> > Â Â Â Â
e=3D"submit">
>> > Â Â Â
>> > Â Â
>> > Â
>> >
>> >
>> >
>> >
>> >
>> > ____________________________________________________________ __________=
______
>> >
>> > What I want is when the user click on the submit button the data from
>> > this
>> > form should directly comes to my email. I tried mail function but not
>> > working for me. I just need these 3 fields in my mail. Please help me
>> > with
>> > this.
>> >
>> > --
>> > *Best,
>> > *
>> > *Guruâ=A2*
>> >
>>
>> As this is a PHP for Windows mailing list, I assume you actually are
>> having a problem with PHP on Windows?
>>
>> And not your HTML code.
>>
>> As you are in a PHP for Windows mailing list, I assume you are on
>> Windows, which, as you are now experiencing, doesn't have a mail
>> server built in, nor an app you can run that provides the same
>> facility.
>>
>> See http://uk.php.net/manual/en/book.mail.php for all the lovely
>> documentation, especially with the runtime configuration options.
>>
>> Most likely, you've not set these appropriately.
>>
>> But, in short, you are going to need to tell us what is NOT working
>> for any realistic help.
>>
>> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
>> PHPMailer is another tool that does a similar job. It may be better,
>> I've just never used it.
>>
>> Regards,
>>
>> Richard.
>>
>> P.S. "Guru"? Really?
>> --
>> Richard Quadling
>> Twitter : EE : Zend
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
>
>
> --
> Best,
> Guruâ=A2
>
>
So, just like I said, you haven't setup PHP's mail configuration
options and/or you don't have a local SMTP server.
Without these being correct, you won't get any email.
--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> 2011/4/4 Guru=99 :
> > Hi Richard,
> > I am using simple PHP mail function but, I am unable to send an email t=
o
> > myself. What I want is when the user click on submit button I should ge=
t
> an
> > email with the form data.
> >
> >
> >
> > 2011/4/4 Richard Quadling
> >>
> >> 2011/4/4 Guru=99 :
> >> > Hi All,
> >> >
> >> > I have this HTML form
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> ____________________________________________________________ _____________=
___
> >> >
> >> > What I want is when the user click on the submit button the data fro=
m
> >> > this
> >> > form should directly comes to my email. I tried mail function but no=
t
> >> > working for me. I just need these 3 fields in my mail. Please help m=
e
> >> > with
> >> > this.
> >> >
> >> > --
> >> > *Best,
> >> > *
> >> > *Guru=99*
> >> >
> >>
> >> As this is a PHP for Windows mailing list, I assume you actually are
> >> having a problem with PHP on Windows?
> >>
> >> And not your HTML code.
> >>
> >> As you are in a PHP for Windows mailing list, I assume you are on
> >> Windows, which, as you are now experiencing, doesn't have a mail
> >> server built in, nor an app you can run that provides the same
> >> facility.
> >>
> >> See http://uk.php.net/manual/en/book.mail.php for all the lovely
> >> documentation, especially with the runtime configuration options.
> >>
> >> Most likely, you've not set these appropriately.
> >>
> >> But, in short, you are going to need to tell us what is NOT working
> >> for any realistic help.
> >>
> >> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
> >> PHPMailer is another tool that does a similar job. It may be better,
> >> I've just never used it.
> >>
> >> Regards,
> >>
> >> Richard.
> >>
> >> P.S. "Guru"? Really?
> >> --
> >> Richard Quadling
> >> Twitter : EE : Zend
> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
> >
> >
> >
> > --
> > Best,
> > Guru=99
> >
> >
>
> So, just like I said, you haven't setup PHP's mail configuration
> options and/or you don't have a local SMTP server.
>
> Without these being correct, you won't get any email.
>
>
>
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
> 2011/4/4 Guru=99 :
> > Hi Richard,
> > I am using simple PHP mail function but, I am unable to send an email t=
o
> > myself. What I want is when the user click on submit button I should ge=
t
> an
> > email with the form data.
> >
> >
> >
> > 2011/4/4 Richard Quadling
> >>
> >> 2011/4/4 Guru=99 :
> >> > Hi All,
> >> >
> >> > I have this HTML form
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> ____________________________________________________________ _____________=
___
> >> >
> >> > What I want is when the user click on the submit button the data fro=
m
> >> > this
> >> > form should directly comes to my email. I tried mail function but no=
t
> >> > working for me. I just need these 3 fields in my mail. Please help m=
e
> >> > with
> >> > this.
> >> >
> >> > --
> >> > *Best,
> >> > *
> >> > *Guru=99*
> >> >
> >>
> >> As this is a PHP for Windows mailing list, I assume you actually are
> >> having a problem with PHP on Windows?
> >>
> >> And not your HTML code.
> >>
> >> As you are in a PHP for Windows mailing list, I assume you are on
> >> Windows, which, as you are now experiencing, doesn't have a mail
> >> server built in, nor an app you can run that provides the same
> >> facility.
> >>
> >> See http://uk.php.net/manual/en/book.mail.php for all the lovely
> >> documentation, especially with the runtime configuration options.
> >>
> >> Most likely, you've not set these appropriately.
> >>
> >> But, in short, you are going to need to tell us what is NOT working
> >> for any realistic help.
> >>
> >> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
> >> PHPMailer is another tool that does a similar job. It may be better,
> >> I've just never used it.
> >>
> >> Regards,
> >>
> >> Richard.
> >>
> >> P.S. "Guru"? Really?
> >> --
> >> Richard Quadling
> >> Twitter : EE : Zend
> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
> >
> >
> >
> > --
> > Best,
> > Guru=99
> >
> >
>
> So, just like I said, you haven't setup PHP's mail configuration
> options and/or you don't have a local SMTP server.
>
> Without these being correct, you won't get any email.
>
>
>
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
--=20
*Best,
*
*Guru=99*
--0022152d7e938870cd04a0177a07--
Re: Need Help with PHP Mails
am 04.04.2011 15:22:37 von Richard Quadling
2011/4/4 Guruâ=A2 :
> Hi,
>
> Here is the PHP script I am using to send email to myself.
>
>
>
>
> $party_name =3D $HTTP_POST_VARS['party_name'];
> $contact_no =3D $HTTP_POST_VARS['contact_no'];
> $email =3D 'nagendra802000@gmail.com';
>
>
> mail($email,$party_name,$contact_no);
>
> ?>
>
>
>
> 2011/4/4 Richard Quadling
>>
>> 2011/4/4 Guruâ=A2 :
>> > Hi Richard,
>> > I am using simple PHP mail function but, I am unable to send an email =
to
>> > myself. What I want is when the user click on submit button I should g=
et
>> > an
>> > email with the form data.
>> >
>> >
>> >
>> > 2011/4/4 Richard Quadling
>> >>
>> >> 2011/4/4 Guruâ=A2 :
>> >> > Hi All,
>> >> >
>> >> > I have this HTML form
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Â
>> >> > Â Â
>> >> > Â Â Â
>> >> > Â Â Â Â
name=3D"submit">
>> >> > Â Â Â
>> >> > Â Â
>> >> > Â
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ____________________________________________________________ _______=
_________
>> >> >
>> >> > What I want is when the user click on the submit button the data fr=
om
>> >> > this
>> >> > form should directly comes to my email. I tried mail function but n=
ot
>> >> > working for me. I just need these 3 fields in my mail. Please help =
me
>> >> > with
>> >> > this.
>> >> >
>> >> > --
>> >> > *Best,
>> >> > *
>> >> > *Guruâ=A2*
>> >> >
>> >>
>> >> As this is a PHP for Windows mailing list, I assume you actually are
>> >> having a problem with PHP on Windows?
>> >>
>> >> And not your HTML code.
>> >>
>> >> As you are in a PHP for Windows mailing list, I assume you are on
>> >> Windows, which, as you are now experiencing, doesn't have a mail
>> >> server built in, nor an app you can run that provides the same
>> >> facility.
>> >>
>> >> See http://uk.php.net/manual/en/book.mail.php for all the lovely
>> >> documentation, especially with the runtime configuration options.
>> >>
>> >> Most likely, you've not set these appropriately.
>> >>
>> >> But, in short, you are going to need to tell us what is NOT working
>> >> for any realistic help.
>> >>
>> >> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
>> >> PHPMailer is another tool that does a similar job. It may be better,
>> >> I've just never used it.
>> >>
>> >> Regards,
>> >>
>> >> Richard.
>> >>
>> >> P.S. "Guru"? Really?
>> >> --
>> >> Richard Quadling
>> >> Twitter : EE : Zend
>> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>> >
>> >
>> >
>> > --
>> > Best,
>> > Guruâ=A2
>> >
>> >
>>
>> So, just like I said, you haven't setup PHP's mail configuration
>> options and/or you don't have a local SMTP server.
>>
>> Without these being correct, you won't get any email.
>>
>>
>>
>>
>> --
>> Richard Quadling
>> Twitter : EE : Zend
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
>
>
> --
> Best,
> Guruâ=A2
>
>
That's all well and good.
But ... and this is pretty much me repeating myself, what about your
mail configuration.
Please read http://uk.php.net/manual/en/mail.configuration.php and
tell us what you've got set.
--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Need Help with PHP Mails
am 04.04.2011 15:22:37 von Richard Quadling
2011/4/4 Guruâ=A2 :
> Hi,
>
> Here is the PHP script I am using to send email to myself.
>
>
>
>
> $party_name =3D $HTTP_POST_VARS['party_name'];
> $contact_no =3D $HTTP_POST_VARS['contact_no'];
> $email =3D 'nagendra802000@gmail.com';
>
>
> mail($email,$party_name,$contact_no);
>
> ?>
>
>
>
> 2011/4/4 Richard Quadling
>>
>> 2011/4/4 Guruâ=A2 :
>> > Hi Richard,
>> > I am using simple PHP mail function but, I am unable to send an email =
to
>> > myself. What I want is when the user click on submit button I should g=
et
>> > an
>> > email with the form data.
>> >
>> >
>> >
>> > 2011/4/4 Richard Quadling
>> >>
>> >> 2011/4/4 Guruâ=A2 :
>> >> > Hi All,
>> >> >
>> >> > I have this HTML form
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Â
>> >> > Â Â
>> >> > Â Â Â
>> >> > Â Â Â Â
name=3D"submit">
>> >> > Â Â Â
>> >> > Â Â
>> >> > Â
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ____________________________________________________________ _______=
_________
>> >> >
>> >> > What I want is when the user click on the submit button the data fr=
om
>> >> > this
>> >> > form should directly comes to my email. I tried mail function but n=
ot
>> >> > working for me. I just need these 3 fields in my mail. Please help =
me
>> >> > with
>> >> > this.
>> >> >
>> >> > --
>> >> > *Best,
>> >> > *
>> >> > *Guruâ=A2*
>> >> >
>> >>
>> >> As this is a PHP for Windows mailing list, I assume you actually are
>> >> having a problem with PHP on Windows?
>> >>
>> >> And not your HTML code.
>> >>
>> >> As you are in a PHP for Windows mailing list, I assume you are on
>> >> Windows, which, as you are now experiencing, doesn't have a mail
>> >> server built in, nor an app you can run that provides the same
>> >> facility.
>> >>
>> >> See http://uk.php.net/manual/en/book.mail.php for all the lovely
>> >> documentation, especially with the runtime configuration options.
>> >>
>> >> Most likely, you've not set these appropriately.
>> >>
>> >> But, in short, you are going to need to tell us what is NOT working
>> >> for any realistic help.
>> >>
>> >> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
>> >> PHPMailer is another tool that does a similar job. It may be better,
>> >> I've just never used it.
>> >>
>> >> Regards,
>> >>
>> >> Richard.
>> >>
>> >> P.S. "Guru"? Really?
>> >> --
>> >> Richard Quadling
>> >> Twitter : EE : Zend
>> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>> >
>> >
>> >
>> > --
>> > Best,
>> > Guruâ=A2
>> >
>> >
>>
>> So, just like I said, you haven't setup PHP's mail configuration
>> options and/or you don't have a local SMTP server.
>>
>> Without these being correct, you won't get any email.
>>
>>
>>
>>
>> --
>> Richard Quadling
>> Twitter : EE : Zend
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
>
>
> --
> Best,
> Guruâ=A2
>
>
That's all well and good.
But ... and this is pretty much me repeating myself, what about your
mail configuration.
Please read http://uk.php.net/manual/en/mail.configuration.php and
tell us what you've got set.
--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Need Help with PHP Mails
am 04.04.2011 15:55:16 von Michael Tacelosky
Use PHPMailer, it is MUCH, MUCH, MUCH better than the native mail()
function built into PHP.
If you have a google account, you can set it up to use that as your
mail server, saving you all sorts of headaches involved with sending
mail from Windows, especially from a home machine with a dynamic IP
address and ISP's that block port 25.
Tac
2011/4/4 Richard Quadling :
> 2011/4/4 Guru=99 :
>> Hi,
>>
>> Here is the PHP script I am using to send email to myself.
>>
>>
>>
>>
>> $party_name =3D $HTTP_POST_VARS['party_name'];
>> $contact_no =3D $HTTP_POST_VARS['contact_no'];
>> $email =3D 'nagendra802000@gmail.com';
>>
>>
>> mail($email,$party_name,$contact_no);
>>
>> ?>
>>
>>
>>
>> 2011/4/4 Richard Quadling
>>>
>>> 2011/4/4 Guru=99 :
>>> > Hi Richard,
>>> > I am using simple PHP mail function but, I am unable to send an email=
to
>>> > myself. What I want is when the user click on submit button I should =
get
>>> > an
>>> > email with the form data.
>>> >
>>> >
>>> >
>>> > 2011/4/4 Richard Quadling
>>> >>
>>> >> 2011/4/4 Guru=99 :
>>> >> > Hi All,
>>> >> >
>>> >> > I have this HTML form
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > =A0 =A0
>>> >> > =A0
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > ____________________________________________________________ ______=
__________
>>> >> >
>>> >> > What I want is when the user click on the submit button the data f=
rom
>>> >> > this
>>> >> > form should directly comes to my email. I tried mail function but =
not
>>> >> > working for me. I just need these 3 fields in my mail. Please help=
me
>>> >> > with
>>> >> > this.
>>> >> >
>>> >> > --
>>> >> > *Best,
>>> >> > *
>>> >> > *Guru=99*
>>> >> >
>>> >>
>>> >> As this is a PHP for Windows mailing list, I assume you actually are
>>> >> having a problem with PHP on Windows?
>>> >>
>>> >> And not your HTML code.
>>> >>
>>> >> As you are in a PHP for Windows mailing list, I assume you are on
>>> >> Windows, which, as you are now experiencing, doesn't have a mail
>>> >> server built in, nor an app you can run that provides the same
>>> >> facility.
>>> >>
>>> >> See http://uk.php.net/manual/en/book.mail.php for all the lovely
>>> >> documentation, especially with the runtime configuration options.
>>> >>
>>> >> Most likely, you've not set these appropriately.
>>> >>
>>> >> But, in short, you are going to need to tell us what is NOT working
>>> >> for any realistic help.
>>> >>
>>> >> Personally, I use HTMLMimeMail5 (now called RMail) from phpguru.com.
>>> >> PHPMailer is another tool that does a similar job. It may be better,
>>> >> I've just never used it.
>>> >>
>>> >> Regards,
>>> >>
>>> >> Richard.
>>> >>
>>> >> P.S. "Guru"? Really?
>>> >> --
>>> >> Richard Quadling
>>> >> Twitter : EE : Zend
>>> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>>> >
>>> >
>>> >
>>> > --
>>> > Best,
>>> > Guru=99
>>> >
>>> >
>>>
>>> So, just like I said, you haven't setup PHP's mail configuration
>>> options and/or you don't have a local SMTP server.
>>>
>>> Without these being correct, you won't get any email.
>>>
>>>
>>>
>>>
>>> --
>>> Richard Quadling
>>> Twitter : EE : Zend
>>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>>
>>
>>
>> --
>> Best,
>> Guru=99
>>
>>
>
> That's all well and good.
>
> But ... and this is pretty much me repeating myself, what about your
> mail configuration.
>
> Please read http://uk.php.net/manual/en/mail.configuration.php and
> tell us what you've got set.
>
>
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Need Help with PHP Mails
am 04.04.2011 15:55:41 von Jacob Kruger
Some browsers will moan/complain about the webpage rendering an email
address, but that's the simplest way to do it.
Aside from that, here's a link to the w3schools.com page on PHP mail
sending:
http://www.w3schools.com/PHP/php_mail.asp
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message -----
From: "Guru"
To: ; "PHP DB" ; "php
mysql" ;
Sent: Monday, April 04, 2011 2:21 PM
Subject: [PHP-WIN] Need Help with PHP Mails
What I want is when the user click on the submit button the data from this
form should directly comes to my email. I tried mail function but not
working for me. I just need these 3 fields in my mail. Please help me with
this.
--
*Best,
*
*Guru*
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Have you already made the php script that includes the "mail" function? If
there is an error in your php that is preventing the mail function from
working properly, I or someone else may be able to help you correct it if
you were to send the php you have written so far.
-Will
2011/4/4 Guru=99
> Hi All,
>
> I have this HTML form
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ____________________________________________________________ _____________=
___
>
> What I want is when the user click on the submit button the data from thi=
s
> form should directly comes to my email. I tried mail function but not
> working for me. I just need these 3 fields in my mail. Please help me wit=
h
> this.
>
> --
> *Best,
> *
> *Guru=99*
>
Have you already made the php script that includes the "mail" function? If
there is an error in your php that is preventing the mail function from
working properly, I or someone else may be able to help you correct it if
you were to send the php you have written so far.
-Will
2011/4/4 Guru=99
> Hi All,
>
> I have this HTML form
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ____________________________________________________________ _____________=
___
>
> What I want is when the user click on the submit button the data from thi=
s
> form should directly comes to my email. I tried mail function but not
> working for me. I just need these 3 fields in my mail. Please help me wit=
h
> this.
>
> --
> *Best,
> *
> *Guru=99*
>
Below is my final PHP code, and its working now. However this is just a
small piece of the form that I have created. In my original form I have more
then 50 fields and variables. Now I am not sure how to expand this code
having all 50 fields. Can the mail function will take that much fields?
Below is my final PHP code, and its working now. However this is just a
small piece of the form that I have created. In my original form I have more
then 50 fields and variables. Now I am not sure how to expand this code
having all 50 fields. Can the mail function will take that much fields?
Glad to hear it's working! Yes the mail function will be able to =20
handle all the fields, it should be as simple as repeating what you've =20=
already done for all of the remaining fields
- Will
On Apr 4, 2011, at 1:09 PM, Guruâ=A2 =
wrote:
> Hi Will,
>
> Below is my final PHP code, and its working now. However this is =20
> just a small piece of the form that I have created. In my original =20
> form I have more then 50 fields and variables. Now I am not sure how =20=
> to expand this code having all 50 fields. Can the mail function will =20=
Glad to hear it's working! Yes the mail function will be able to =20
handle all the fields, it should be as simple as repeating what you've =20=
already done for all of the remaining fields
- Will
On Apr 4, 2011, at 1:09 PM, Guruâ=A2 =
wrote:
> Hi Will,
>
> Below is my final PHP code, and its working now. However this is =20
> just a small piece of the form that I have created. In my original =20
> form I have more then 50 fields and variables. Now I am not sure how =20=
> to expand this code having all 50 fields. Can the mail function will =20=