Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$bounceAddress isn't used anywhere in initEmail() #3

Open
phillprice opened this issue Feb 18, 2014 · 0 comments
Open

$bounceAddress isn't used anywhere in initEmail() #3

phillprice opened this issue Feb 18, 2014 · 0 comments

Comments

@phillprice
Copy link

    // Messages with the X-SilverStripeMessageID header can be tracked
    if(isset($customheaders["X-SilverStripeMessageID"]) && defined('BOUNCE_EMAIL')) {
      $bounceAddress = BOUNCE_EMAIL;
      // Get the human name from the from address, if there is one
      if(ereg('^([^<>]+)<([^<>])> *$', $from, $parts)) {
        $bounceAddress = "$parts[1]<$bounceAddress>";
      }
    } else {
      $bounceAddress = $from;
    }
xini added a commit to xini/silverstripe-email-helpers that referenced this issue Sep 15, 2020
xini added a commit to xini/silverstripe-email-helpers that referenced this issue Sep 15, 2020
markguinn added a commit that referenced this issue Sep 15, 2020
remove unused bounceAddress variable, fixes #32 and #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant