From 19a9b76d0b1ee540e244a09c28caca70db026d5d Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Sun, 24 Nov 2013 13:09:17 +0530 Subject: adding from into headers array of drupal_mail_send() --- cloud_comments.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud_comments.module b/cloud_comments.module index ff5bf9f..7bbbdad 100755 --- a/cloud_comments.module +++ b/cloud_comments.module @@ -140,7 +140,7 @@ function cloud_comments_reply_form_submit($form, &$form_state) { 'to' => $obj->email, 'subject' => t("Comment Reply"), 'body' => t($form_state["values"]["content"]), - 'headers' => array("Content-type" => "text/html; charset=iso-8859-1") + 'headers' => array("From" => "textbook@scilab.in", "Content-type" => "text/html; charset=iso-8859-1") ); drupal_mail_send($message); -- cgit