How to Set Advanced Auto-Responder via WebMail
Posted by - NA -, Last modified by Said Khammar on 16 June 2014 04:36 AM

OS: Windows/Linux; IceWarp Server Version: 11/10

Auto-Responder

 

Icewarp allows users to define their own auto-responder via the WebMail interface. However only simple and static text messages can be designed there.

But you can use variables and commands which can make the auto-responder a very powerful feature.

The variables which can be used are:

%%From%%

%%From_Email%%

%%From_Alias%%

%%From_Domain%%

%%From_Name%%

%%To%%

%%To_Email%%

%%To_Alias%%

%%To_Domain%%

%%To_Name%%

%%Sender%%

%%Sender_Email%%

%%Sender_Alias%%

%%Sender_Domain%%

%%Recipient%%

%%Recipient_Email%%

%%Recipient_Alias%%

%%Recipient_Domain%%

%%Subject%%

%%Message-ID%%

%%Date%%

%%Time%%

%%Header%%

%%Body%%

%%Body_HTML%%

%%Size%%

%%IP%%

%%RFC822_Date%%

%%Header HeaderItem%%

Each of these variables returns actual values according to the message which was received.

The next powerful feature are the commands. You can set headers of messages by using these commands.

$$SetSender Sender$$

$$SetRecipient Recipient$$

$$SetActualTo To$$

$$SetActualFrom From$$

$$SetSubject Subject$$

$$SetReplyTo ReplyTo$$

$$SetMessageID MessageID$$

$$SetHeader Header$$

 

Example #1 (Simple Auto Responder):

Hello, I received your message at %%Time%% on the %%Date%% and the size was %%Size%% kB.

 

Example #2 (Advanced Auto Responder):

$$SetSubject Message Subject: %%Subject%%$$

$$SetSender autoresponder@yourdomain.com$$

Hello %%From_Name%%,

this is an automatically generated auto-responder message. I will answer your message as soon as possible.

 

Example #3 (Virus Warning):

Warning: Virus '%%VirusName%%' detected. Message was rejected.

Message's header:

%%Header%%