Hi, i have a problem with the yahoo. I have to add some code to work this PHP file of yours. Can you create another PHP file for this, because i don’t know any php code.
They say that: “You will also need to indicate the path to the Yahoo! mail program, Sendmail. The path to Sendmail is /usr/sbin/sendmail.”
And they have a sample perl code of how the mail program works
SAMPLE
!/usr/bin/perl
print “Content-type: text/html\n\n”;
$title=’mail test’;
$to=’MAIL ADDRESS TO SEND TO ’;
$from= ‘EMAIL@YOURDOMAIN.COM’;
$subject=’Using Sendmail’;
open(MAIL, ”|/usr/sbin/sendmail -t”
;
- Mail Header
print MAIL “To: $to\n”;
print MAIL “From: $from\n”;
print MAIL “Subject: $subject\n\n”;
- Mail Body
print MAIL “This is a test message from Yahoo! \n”;
close(MAIL);
print “ $title<
/title> \n \n\n”;
- START HTML content
print “
$title
\n”;
print “A message has been sent from $from to $to”;
- END HTML CONTENT
print ”\n\n ”;
Please help me out for this. I have a company that is running right now, and i have to finish this.
Thank you!!!
Posted 23 days ago