Changeset 360496
- Timestamp:
- 03/15/2011 11:54:49 PM (15 years ago)
- File:
-
- 1 edited
-
reflect/trunk/php/controllers/bullets_api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
reflect/trunk/php/controllers/bullets_api.php
r359643 r360496 192 192 $bullet_text = str_replace("\\'", "'", $bullet_text); 193 193 try { 194 $from = get_bloginfo('admin_email'); 194 195 $subject = "$user summarized a comment you wrote in \"$post_title\""; 195 196 $message = "Hi $comment_author,\n\n$user believes that you made the following point:\n\n\"$bullet_text\"\n\nTo verify whether this is accurate or not, please visit $link and login.\n\nThanks!"; 196 mail($comment->comment_author_email, $subject, $message); 197 $headers = "From: $from" . "\r\n" . 198 'Reply-To: wordpress@communityforums.org' . "\r\n" . 199 'X-Mailer: PHP/' . phpversion(); 200 mail($comment->comment_author_email, $subject, $message, $headers); 197 201 } catch (Exception $e) {} 198 202 }
Note: See TracChangeset
for help on using the changeset viewer.