1, I tried to send an email in PHP to my Facebook group email address, but these updates are not displayed. If I send an email from my yahoo email, it will be published instantly. What information should I add to the mail header?
2, Can I add images as attachments?
My current sender code is:
<?php $to = " mygroup@groups.facebook.com "; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = " me@yahoo.com "; $headers = "From:" . $from; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?>
source share