Latest news
Home » PHP » How to send mails using PHP

How to send mails using PHP

The following function is using for sending php mail:
<?php   mail(to, subject, message, headers, parameters); ?>
mail is php library function which is using globally
t0 – receiving address
subject-the subject of mail
message- message to send
headers-optional, cc,bcc..etc
parameters- optional, specifies additional parameters

Leave a Reply

x

Check Also

How to print Codeigniter upload error

if you want to display errors on upload functionality in codeigniter. Use the following function ...