Unable to send mail using php script
Hello
i am trying to send mail using mail function.But the message is never sent. I have installed a free smtp server which i run in background before executing the code.and my php.ini file settings are
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = [email protected]
I have this php code
Message successfully sent!
");
} else {
echo("
Message delivery failed...
");
}
?>
can anyone please tell me where am i going wrong..i am new to php. thank you.
View Answers
Ads
Related Tutorials/Questions & Answers:
Unable to send mail using php script
Unable to
send mail using php script Hello
i am trying to
send mail using mail function.But the message is never sent. I have installed a free smtp... settings are
[
mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
send mail in PHP
send mail in PHP what are configurations needed to
send mail in php.ini file by localhost ,please give me complete details about this,and code in datail
Advertisements
send mail using JavaScript
send mail using JavaScript How can we
send mail using JavaScript?
Hi friends,
You can not
send email directly
using JavaScript.
But you can use JavaScript to execute a client side email program
send the email
using
java mail send using setText()
java
mail send using setText() Hai , Am newly
mail send portion...);
Here am
using set Text() method to
send mail content in html format. if i use... format is right. I want to use set Text() method to
send mail in html format . any
execute a PHP script using command line
execute a
PHP script using command line How can I execute a
PHP script using command line?
Hi friends,
Just run the
PHP CLI (Command Line Interface) program and provide the
PHP script file name as the command line
Transfer or labeling mail using the imap in php
Transfer or labeling
mail using the imap in php Hello all ,
please suggest me to transfer and labeling
mail using imap in php.my
script is break after processing around 8000 of 41,000 for labeling .please suggest me some way
Send multipart mail using java mail
Send multipart
mail using java
mail
This Example shows you how to
send multipart
mail using java
mail. Multipart is like a container that holds one or more body
php mail
php mail how to
send the submitted form to
mail after 24 hours? pls help me
how to send mail to many recipients using jsp,apache
how to
send mail to many recipients
using jsp,apache hello
i am... to
send this jsp page content (web page content which consists of this excel... but not as attachment.can we do this .....the list of
mail recipients are in a table
Send Mail using James Server
Send Mail using James Server
This application illustrates how to
send mail on the
mail... a
send mail class which is used to
send the
mail in
the
mail box of James
mail
PHP : Form to Email
;
With the help of this tutorial you can
send mails to a user
using a form, as
we have discussed in our earlier tutorial, it is very easy to
send mails
using
PHP and any... a form which looks like a
mail form,
with the help of this tutorial you can
send
send the mail with attachment - Struts
send the
mail with attachment
Hi Freinds,
i am sending the
mail without attachment file now. But i need to
send the
mail with attachment in struts. when i added the attachemt logic in struts,i am not able to
send
Compose mail by clicking on send mail button
Compose
mail by clicking on
send mail button How i get microsof out look page opend for composing
mail by just clicking on
send mail button and when outlook page open then in to:my email id is written on my jsp page
Php Sql Script
Php Sql
Script
This example illustrates how to create the
php sql
script.
In this example we create a table "emp_counter" with three column..._script.php
<?
php
$mysql_db 
PHP E-Mail
PHP E-
Mail
E-
Mail... .doc, .xls. .pdf etc. file
With the help of
PHP we can
send mails to another person. Given example will
illustrates the way we can
send mail, in the current
How to Increase Script Execution Time Limit in php ?
How to Increase
Script Execution Time Limit in
php ? Increase
Script Execution Time Limit in
php configuration
Sometimes you need to execute a large
php script. Because of PHPâ??s default execution time settings
How to run PHP Script from the command line ?
How to run
PHP Script from the command line ? Running
PHP Script from the command line
Actually it is very simple to run
php script... expect.
You can also check :
http://www.phpzag.com/running-
php-
script-from
mail
mail how to
send mail using jsp
Please visit the following links:
JSP
Send Mail
Java
Mail Tutorials
upload video using php
upload video
using php How to upload a video on MYSQL Server
using PHP Code..? Can any one provide me an example