Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 920
    • Issues 920
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #330

Closed
Open
Opened Aug 15, 2018 by gharris@gharrisReporter

Mail -> Accounts -> Name Uniqueness Required

In toying around with Mail Accounts for Bounce Processing and Email-to-Activity, I've discovered an odd "feature" that has seemingly unintended consequences. If the Name field is not unique, the Process Inbound E-mails utilizes the setting from the first matching Name setup. An example will hopefully make this clearer. In Mail Accounts:

  1. Name: Civi, Address: bounce@example.com, Used For: Bounce Processing
  2. Name: Civi, Address: email2activity@example.com, Used For: Email-to-Activity

When I run the Cron job for Process Inbound E-mails, it seems to successfully connect to the line 1 setup and run the Email-to-Activity off of that box.

If I simply rename the Name field, then I get the intended results.

  1. Name: Civi Bounce, Address: bounce@example.com, Used For: Bounce Processing
  2. Name: Civi Activity, Address: email2activity@example.com, Used For: Email-to-Activity

Running Process Inbound E-mails then grabs the e-mails from the Civi Activity account as expected.

As a side note, and perhaps a feature enhancement, the Cron logs don't show what folder or e-mail account is being looked at. This was more of a trial and error deduction. If I mess up the login, then the Cron log does show the account details.

P.S. Perhaps this should be in Mailing instead?

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#330