Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
Loading...
Searching...
No Matches
EmailImport.MessageHandling.cs
Go to the documentation of this file.
1using System;
2
3namespace Hermod.EmailImport {
4
5 using Core.Delegation;
6
7 partial class EmailImporter {
8
9
16 switch (e.Topic) {
17 case AddDomainTopic:
19 break;
20 }
21 }
22
23 private void HandleAddDomainMessageReceived(string topic, object? message) {
24
25 }
26
27 }
28}
29
EventArgs-derived class containing the event arguments for when a message was received on a given top...
string Topic
The topic on which the message was sent.
object? Message
The message that was sent.
void PluginDelegator_MessageReceived(object? sender, MessageReceivedEventArgs e)
Event handler which is called when a message is received on a topic this plugin subscribed.
void HandleAddDomainMessageReceived(string topic, object? message)