Email Account showing blank

Infos:

  • Used Zammad version: 4.1.x
  • Used Zammad installation type: package
  • Operating system: Centos-7
  • Browser + version: Chrome

Expected behavior:

After add this command from the “Rails console” :- “Channel.create(area: ‘Email::Account’, options: { inbound: { adapter: ‘null’, options: {} }, outbound: { adapter: ‘sendmail’ } }, active: true, preferences: { editable: false }, updated_by_id: 1, created_by_id: 1)”

In zammad email channel showing blank, not showing “New” button.

After that i added one channel but still not showing anything

Actual behavior:

Steps to reproduce the behavior:

User now also posted on Github…

He just informed you ask zammad community.

I didn’t find solution
when i create outbound email using following command
rails r “Channel.create(area: ‘Email::Account’, options: { inbound: { adapter: ‘null’, options: {} }, outbound: { adapter: ‘smtp’, options: { host: ‘10.10.8.48’, port: 25, user: ‘chirag_darji@musikaar.com’, password: ‘CDp@ssw0rd2020’ } } }, active: true, preferences: { editable: false }, updated_by_id: 1, created_by_id: 1)”

but outbound not reflecting in email section.

Resolved issue…

Solution Steps.

1)- Going to psql database in zammad
2)- SELECT * FROM channels;

if showing multiple record in Email channels then you can remove remove all record expect one

After that restart zammad services and check it

1 Like

Dear future anon finding this thread because of some search magic

Please note that above “solution” is not a supported nor suggested solution.
Never manually fiddle within Zamamds databases, you’ll shoot in your own feet.

Instead, use rails console and Channel.find(<ID-of-evil-channel>).destroy if you have to.

The command you were looking for looks like this:

Channel.create(area: 'Email::Account', options: { inbound: { adapter: 'null', options: {} }, outbound: { adapter: 'smtp', options: {host: "XXX", user: "XXX", password: "XXX", port: "587"} } }, active: true, preferences: { editable: false }, updated_by_id: 1, created_by_id: 1)

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.