Bug #3093

CB mail sets Sender overriding host set value

Added by krileon over 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:12/15/2011
Priority:HighDue date:
Assignee:beat% Done:

100%

Category:-Estimated time:1.00 hour
Target version:CB 1.8

Description

When CB is sending an email it's setting the Sender (who the email is coming from). This is a problem on hosts that don't allow you to change this from their defined sender. Joomla does not set the Sender, but only From Address and From Name. Doesn't seam necessary to do so in CB.

3093.patch Magnifier (925 Bytes) krileon, 12/15/2011 05:13 pm

History

#1 Updated by krileon over 2 years ago

  • File 3093.patch added
  • Status changed from Assigned to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 100

#2 Updated by beat over 2 years ago

That must become more subtile:

we need to do a compare from end on the domain name. Email domain can be shorter than the live_site
e.g. @joomlapolis.com should set sender on http://abcd.joomlapolis.com/

#3 Updated by krileon over 2 years ago

  • File deleted (3093.patch)

#4 Updated by krileon over 2 years ago

New patch checks email domain against website domain.

#5 Updated by beat about 2 years ago

Patch can't be used as is it sets minimum PHP version to 5.1.2 for CB, as the last param was added only in 5.1.2: http://ch2.php.net/manual/en/function.parse-url.php

#6 Updated by beat about 2 years ago

Also emails can have several @ in them, we need last one.

#7 Updated by beat about 2 years ago

  • Status changed from Resolved to Closed
  • Target version set to CB 1.8
  • Estimated time set to 1.00

r1659 fixes in the way suggested, but differently to take in account the 2 remarks above.

Also available in: Atom PDF