diff options
author | Jayaram Pai | 2013-11-24 13:09:17 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-11-24 13:09:17 +0530 |
commit | 19a9b76d0b1ee540e244a09c28caca70db026d5d (patch) | |
tree | 2eb60c5b5475e4eb3f2086350f666268ceb7eb82 | |
parent | 265e6a621ed3a171c0672866105b92c61678c0dc (diff) | |
download | cloud-comments-19a9b76d0b1ee540e244a09c28caca70db026d5d.tar.gz cloud-comments-19a9b76d0b1ee540e244a09c28caca70db026d5d.tar.bz2 cloud-comments-19a9b76d0b1ee540e244a09c28caca70db026d5d.zip |
adding from into headers array of drupal_mail_send()
-rwxr-xr-x | cloud_comments.module | 2 |
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); |