Need Help with PHP Mails

Need Help with PHP Mails

am 04.04.2011 14:21:18 von nagendra802000

--e0cb4e887af1f7a09604a016cb1f
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi All,

I have this HTML form








cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">











align=3D"right">Your Name type=3D"text" size=3D"50" />
Contact
Numbers



(please specify STD code)

d>
align=3D"right">Email "text"
size=3D"50" />








____________________________________________________________ _______________=
_

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
>
>
>
>


>  
>    
>  
>

>       n=3D"center"
> cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>        
>          
>          
>        
>        
>          
>          
>        
>        
>          
>          
>        
>      
=3D"middle"> > align=3D"right">Your Name put name=3D"party_name"
> type=3D"text" size=3D"50" />
ht">Contact
> Numbers

align=3D"left">
>             =3D"text" size=3D"50" />
>            (please =
specify STD code)

> align=3D"right">Email put name=3D"email" type=3D"text"
> size=3D"50" />

>      


>         =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
>
>
>
>


>  
>    
>  
>

>       n=3D"center"
> cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>        
>          
>          
>        
>        
>          
>          
>        
>        
>          
>          
>        
>      
=3D"middle"> > align=3D"right">Your Name put name=3D"party_name"
> type=3D"text" size=3D"50" />
ht">Contact
> Numbers

align=3D"left">
>             =3D"text" size=3D"50" />
>            (please =
specify STD code)

> align=3D"right">Email put name=3D"email" type=3D"text"
> size=3D"50" />

>      


>         =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:56:30 von nagendra802000

--e0cb4e887af1e127e804a0174914
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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
> >
> >
> >
> >


> >
> >
> >
> >

> > > > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > align=3D"right">Your Name > > type=3D"text" size=3D"50" />
Contact
> > Numbers


> >
> > (please specify STD
> code)

> > align=3D"right">Email =3D"text"
> > size=3D"50" />

> >


> >
> >


> >

> >
> >
> >
> >
> ____________________________________________________________ _____________=
___
> >
> > 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: Need Help with PHP Mails

am 04.04.2011 14:56:30 von nagendra802000

--e0cb4e887af1e127e804a0174914
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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
> >
> >
> >
> >


> >
> >
> >
> >

> > > > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > align=3D"right">Your Name > > type=3D"text" size=3D"50" />
Contact
> > Numbers


> >
> > (please specify STD
> code)

> > align=3D"right">Email =3D"text"
> > size=3D"50" />

> >


> >
> >


> >

> >
> >
> >
> >
> ____________________________________________________________ _____________=
___
> >
> > 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
>> >
>> >
>> >
>> >


>> >  
>> >    
>> >  
>> >

>> >       lign=3D"center"
>> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>> >        
>> >          
>> >          
>> >        
>> >        
>> >          
>> >          
>> >        
>> >        
>> >          
>> >          
>> >        
>> >      
gn=3D"middle"> >> > align=3D"right">Your Name=
>> > type=3D"text" size=3D"50" />
right">Contact
>> > Numbers
=


>> >             ype=3D"text" size=3D"50" />
>> >            (plea=
se specify STD
>> > code)

>> > align=3D"right">Email =
>> > size=3D"50" />

>> >      


>> >         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
>> >
>> >
>> >
>> >


>> >  
>> >    
>> >  
>> >

>> >       lign=3D"center"
>> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>> >        
>> >          
>> >          
>> >        
>> >        
>> >          
>> >          
>> >        
>> >        
>> >          
>> >          
>> >        
>> >      
gn=3D"middle"> >> > align=3D"right">Your Name=
>> > type=3D"text" size=3D"50" />
right">Contact
>> > Numbers
=


>> >             ype=3D"text" size=3D"50" />
>> >            (plea=
se specify STD
>> > code)

>> > align=3D"right">Email =
>> > size=3D"50" />

>> >      


>> >         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: Need Help with PHP Mails

am 04.04.2011 15:10:07 von nagendra802000

--0022152d7e938870cd04a0177a07
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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 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
> >> >
> >> >
> >> >
> >> >


> >> >
> >> >
> >> >
> >> >

> >> > r"
> >> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > align=3D"right">Your Name me"
> >> > type=3D"text" size=3D"50" />
Contact
> >> > Numbers


> >> >
> >> > (please specify STD
> >> > code)

> >> > align=3D"right">Email > type=3D"text"
> >> > size=3D"50" />

> >> >


> >> >
> >> >


> >> >

> >> >
> >> >
> >> >
> >> >
> >> >
> ____________________________________________________________ _____________=
___
> >> >
> >> > 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:10:07 von nagendra802000

--0022152d7e938870cd04a0177a07
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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 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
> >> >
> >> >
> >> >
> >> >


> >> >
> >> >
> >> >
> >> >

> >> > r"
> >> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > align=3D"right">Your Name me"
> >> > type=3D"text" size=3D"50" />
Contact
> >> > Numbers


> >> >
> >> > (please specify STD
> >> > code)

> >> > align=3D"right">Email > type=3D"text"
> >> > size=3D"50" />

> >> >


> >> >
> >> >


> >> >

> >> >
> >> >
> >> >
> >> >
> >> >
> ____________________________________________________________ _____________=
___
> >> >
> >> > 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
>> >> >
>> >> >
>> >> >
>> >> >


>> >> >  
>> >> >    
>> >> >  
>> >> >

>> >> >       " align=3D"center"
>> >> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>> >> >        
>> >> >          
>> >> >          
>> >> >        
>> >> >        
>> >> >          
>> >> >          
>> >> >        
>> >> >        
>> >> >          
>> >> >          
>> >> >        
>> >> >      
align=3D"middle"> >> >> > align=3D"right">Your Name e"> >> >> > type=3D"text" size=3D"50" />
=3D"right">Contact
>> >> > Numbers
e">


>> >> >             " type=3D"text" size=3D"50" />
>> >> >            (p=
lease specify STD
>> >> > code)

>> >> > align=3D"right">Email e"> >> >> > type=3D"text"
>> >> > size=3D"50" />

>> >> >      


>> >> >         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
>> >> >
>> >> >
>> >> >
>> >> >


>> >> >  
>> >> >    
>> >> >  
>> >> >

>> >> >       " align=3D"center"
>> >> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>> >> >        
>> >> >          
>> >> >          
>> >> >        
>> >> >        
>> >> >          
>> >> >          
>> >> >        
>> >> >        
>> >> >          
>> >> >          
>> >> >        
>> >> >      
align=3D"middle"> >> >> > align=3D"right">Your Name e"> >> >> > type=3D"text" size=3D"50" />
=3D"right">Contact
>> >> > Numbers
e">


>> >> >             " type=3D"text" size=3D"50" />
>> >> >            (p=
lease specify STD
>> >> > code)

>> >> > align=3D"right">Email e"> >> >> > type=3D"text"
>> >> > size=3D"50" />

>> >> >      


>> >> >         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
>>> >> > =A0
>>> >> >

>>> >> > =A0 =A0 =A0 =3D"center"
>>> >> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>>> >> > =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0 =A0
>>> >> > =A0 =A0 =A0
e"> >>> >> > align=3D"right">Your Name =3D"party_name"
>>> >> > type=3D"text" size=3D"50" />
ong>Contact
>>> >> > Numbers

"left">
>>> >> > =A0 =A0 =A0 =A0 =A0 =A0 ize=3D"50" />
>>> >> > =A0 =A0 =A0 =A0 =A0 =A0(please specify STD
>>> >> > code)

>>> >> > align=3D"right">Email >
>>> >> > =A0 =A0 =A0 =A0 =A0
=3D"email"
>>> >> > type=3D"text"
>>> >> > size=3D"50" />

>>> >> > =A0 =A0 =A0


>>> >> > =A0 =A0 =A0 =A0 mit">
>>> >> > =A0 =A0 =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


Hi All,

I have this HTML form








cellpadding="0" cellspacing="0" bordercolor="#000000">












align="right">Your Name type="text" size="50" />
Contact
Numbers



(please specify STD code)

align="right">Email size="50" />








____________________________________________________________ ________________

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

Re: Need Help with PHP Mails

am 04.04.2011 19:02:55 von Will Lunden

--000e0cd2db8242334e04a01abbb4
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Guru,

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
>
>
>
>


>
>
>
>

> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>
>
>
>
>
>
>
>
>
>
>
>
> align=3D"right">Your Name > type=3D"text" size=3D"50" />
Contact
> Numbers


>
> (please specify STD code)

td>
>
> align=3D"right">Email =3D"text"
> size=3D"50" />

>


>
>


>

>
>
>
>
> ____________________________________________________________ _____________=
___
>
> 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*
>

--000e0cd2db8242334e04a01abbb4--

Re: Need Help with PHP Mails

am 04.04.2011 19:02:55 von Will Lunden

--000e0cd2db8242334e04a01abbb4
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Guru,

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
>
>
>
>


>
>
>
>

> > cellpadding=3D"0" cellspacing=3D"0" bordercolor=3D"#000000">
>
>
>
>
>
>
>
>
>
>
>
>
> align=3D"right">Your Name > type=3D"text" size=3D"50" />
Contact
> Numbers


>
> (please specify STD code)

td>
>
> align=3D"right">Email =3D"text"
> size=3D"50" />

>


>
>


>

>
>
>
>
> ____________________________________________________________ _____________=
___
>
> 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*
>

--000e0cd2db8242334e04a01abbb4--

Re: [PHP-DB] Need Help with PHP Mails

am 04.04.2011 19:09:47 von nagendra802000

--20cf307f37c8af8b4e04a01ad361
Content-Type: text/plain; charset=ISO-8859-1

Hi Will,

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?


if(isset($_POST['submit'])) // submit button clicked
{

$party_name = isset($_POST['party_name'])? $_POST['party_name']:null;
$contact_no = isset($_POST['contact_no'])? $_POST['contact_no']:null;
$pemail = isset($_POST['pemail'])? $_POST['pemail']:null;


$mymail = "nagendra802000@gmail.com";


if(mail($mymail, "New contact info submitted!","Party: {$party_name}
Contact: {$contact_no} Email: {$pemail}"))
{


echo 'Mail sent!
';
}
}





?>

--20cf307f37c8af8b4e04a01ad361--

Re: [PHP-DB] Need Help with PHP Mails

am 04.04.2011 19:09:47 von nagendra802000

--20cf307f37c8af8b4e04a01ad361
Content-Type: text/plain; charset=ISO-8859-1

Hi Will,

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?


if(isset($_POST['submit'])) // submit button clicked
{

$party_name = isset($_POST['party_name'])? $_POST['party_name']:null;
$contact_no = isset($_POST['contact_no'])? $_POST['contact_no']:null;
$pemail = isset($_POST['pemail'])? $_POST['pemail']:null;


$mymail = "nagendra802000@gmail.com";


if(mail($mymail, "New contact info submitted!","Party: {$party_name}
Contact: {$contact_no} Email: {$pemail}"))
{


echo 'Mail sent!
';
}
}





?>

--20cf307f37c8af8b4e04a01ad361--

Re: Need Help with PHP Mails

am 04.04.2011 19:31:30 von Will Lunden

--Apple-Mail-1--638939754
Content-Type: text/plain;
charset=utf-8;
format=flowed;
delsp=yes
Content-Transfer-Encoding: quoted-printable


Hi Guru,

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=

> take that much fields?
>
> >
> if(isset($_POST['submit'])) // submit button clicked
> {
>
> $party_name =3D isset($_POST['party_name'])? =
$_POST['party_name']:null;
> $contact_no =3D isset($_POST['contact_no'])? =
$_POST['contact_no']:null;
> $pemail =3D isset($_POST['pemail'])? $_POST['pemail']:null;
>
>
> $mymail =3D "nagendra802000@gmail.com";
>
>
> if(mail($mymail, "New contact info submitted!","Party: =20
> {$party_name} Contact: {$contact_no} Email: {$pemail}"))
> {
>
>
> echo 'Mail sent!
';
> }
> }
>
>
>
>
>
> ?>
>
>

--Apple-Mail-1--638939754--

Re: Need Help with PHP Mails

am 04.04.2011 19:31:30 von Will Lunden

--Apple-Mail-1--638939754
Content-Type: text/plain;
charset=utf-8;
format=flowed;
delsp=yes
Content-Transfer-Encoding: quoted-printable


Hi Guru,

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=

> take that much fields?
>
> >
> if(isset($_POST['submit'])) // submit button clicked
> {
>
> $party_name =3D isset($_POST['party_name'])? =
$_POST['party_name']:null;
> $contact_no =3D isset($_POST['contact_no'])? =
$_POST['contact_no']:null;
> $pemail =3D isset($_POST['pemail'])? $_POST['pemail']:null;
>
>
> $mymail =3D "nagendra802000@gmail.com";
>
>
> if(mail($mymail, "New contact info submitted!","Party: =20
> {$party_name} Contact: {$contact_no} Email: {$pemail}"))
> {
>
>
> echo 'Mail sent!
';
> }
> }
>
>
>
>
>
> ?>
>
>

--Apple-Mail-1--638939754--