summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram Pai2013-11-24 13:09:17 +0530
committerJayaram Pai2013-11-24 13:09:17 +0530
commit19a9b76d0b1ee540e244a09c28caca70db026d5d (patch)
tree2eb60c5b5475e4eb3f2086350f666268ceb7eb82
parent265e6a621ed3a171c0672866105b92c61678c0dc (diff)
downloadcloud-comments-19a9b76d0b1ee540e244a09c28caca70db026d5d.tar.gz
cloud-comments-19a9b76d0b1ee540e244a09c28caca70db026d5d.tar.bz2
cloud-comments-19a9b76d0b1ee540e244a09c28caca70db026d5d.zip
adding from into headers array of drupal_mail_send()
-rwxr-xr-xcloud_comments.module2
1 files changed, 1 insertions, 1 deletions
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);