0

:)

How do i send email with php
Is there some computer configuration needed too for this purpose

Please reply.. urgent

4
Contributors
7
Replies
8
Views
7 Years
Discussion Span
Last Post by refrost
-1

:)

How do i send email with php
Is there some computer configuration needed too for this purpose

Please reply.. urgent

no need to configuration. just google search for

"class.phpmailer.php"
"class.smtp.php";
"constants.php";

just include these in your php code

0

is it right that we have to registered these class in php.ini before we used it

-:newbie:-

-1

is it right that we have to registered these class in php.ini before we used it

-:newbie:-

yes. compulsory include mailer class in your file for mail concept

0

yes. compulsory include mailer class in your file for mail concept

Adv Thanks :)

0

no phpmailer is an independent class which uses the default mail configured on your system... u dont need to change anything in php.ini unless u have changed some mail options earlier..
Cheers!!

is it right that we have to registered these class in php.ini before we used it

-:newbie:-

0

no phpmailer is an independent class which uses the default mail configured on your system... u dont need to change anything in php.ini unless u have changed some mail options earlier..
Cheers!!

Thanks for the knowledge, will note it :)

0

A good place to start is reviewing the php mail() function and examples. See. http://php.net/manual/en/function.mail.php

If you are running a script on your localhost development windows box you may need to make a few changes to your php.ini file to actually send the mail. If so, open the ini file and find instance of smtp and/or mail.

The php docs also suggest looking into PEAR MAIL if you are up to that level.

The mail() function is quite straightforward and you can, for instance, create an input form that then inserts the to/from/subject/body values in varibles upon submission that then get plugged into the mail() function.

Ralph

:)

How do i send email with php
Is there some computer configuration needed too for this purpose

Please reply.. urgent

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.