Skip to content

Commit

Permalink
* core/email_api.php
Browse files Browse the repository at this point in the history
  (email_send): don't manually put in a Return-path header since that is
    generated by the MTAs along the way


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2146 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Julian Fitzell committed Apr 9, 2003
1 parent d084531 commit 864a56e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/email_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: email_api.php,v 1.55 2003-03-12 19:41:59 int2str Exp $
# $Id: email_api.php,v 1.56 2003-04-09 19:39:13 jfitzell Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -685,7 +685,6 @@ function email_send( $p_recipient, $p_subject, $p_message, $p_header='', $p_cate
if ( ON == $g_use_x_priority ) {
$t_headers .= "X-Priority: $g_mail_priority\n"; # Urgent = 1, Not Urgent = 5, Disable = 0
}
$t_headers .= "Return-Path: <$g_return_path_email>\n"; # return email if error
$t_headers .= 'Content-Type: text/plain; charset=' . lang_get( 'charset' ) . "\n";

if ( EMAIL_CATEGORY_PROJECT_CATEGORY == config_get( 'email_set_category' ) ) {
Expand Down

0 comments on commit 864a56e

Please sign in to comment.