:)
How do i send email with php
Is there some computer configuration needed too for this purpose
Please reply.. urgent
:)
How do i send email with php
Is there some computer configuration needed too for this purposePlease 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
is it right that we have to registered these class in php.ini before we used it
-:newbie:-
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
yes. compulsory include mailer class in your file for mail concept
Adv Thanks :)
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:-
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 :)
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 purposePlease reply.. urgent
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.