i am using mail() function to send email with php. the following is the sending script.
<?php
$to = "bonjourcava@gmail.com";
$subject = "Contact Us";
$email = "bonjour" ;
$message = "jee tres bien" ;
$headers = "Billing information";
$sent = mail($to, $subject, $message, $headers) ; ?>
it displays a success message but when i check my mail box,there is no new mail.what else can i add to make it run? am using ubuntu version 9.04
mwenyenia07
-4
Light Poster
Recommended Answers
Jump to PostDid you install a mail server?
And check your spam folder.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.