Search found 25 matches

by naren
2020-08-25 08:15
Forum: User-submitted tutorials
Topic: Powershell script to install HMS on Server 2016 core
Replies: 7
Views: 5167

Re: Powershell script to install HMS on Server 2016 core

I am using the same script to install hmailserver using powershell script, but i am getting error at below line $hm.Settings.SetAdministratorPassword($hmailadminpw) Error is : You cannot call a method on a null-valued expression. At line:5 char:1 + $hm.Settings.SetAdministratorPassword($hmailadminpw...
by naren
2020-08-20 08:52
Forum: General discussions
Topic: Powershell script to install hmailserver
Replies: 0
Views: 206

Powershell script to install hmailserver

Is there any way to use Powershell script to install hmailserver with remote database server connection(MySql or Sql server) ?
by naren
2020-08-20 08:26
Forum: General discussions
Topic: How to configure custom "Rules" automatically using powershell
Replies: 3
Views: 255

Re: How to configure custom "Rules" automatically using powershell

Thanks for the response. I will try and let you know.
by naren
2020-08-19 07:23
Forum: General discussions
Topic: How to configure custom "Rules" automatically using powershell
Replies: 3
Views: 255

How to configure custom "Rules" automatically using powershell

How to configure custom "Rules" automatically after installing hMail server using Powershell.

Below is the same Rule and it executes specific script function
hMailserverRule.PNG
by naren
2020-08-13 07:18
Forum: General discussions
Topic: Automatic installation of hmailserver without installation GUI
Replies: 4
Views: 816

Re: Automatic installation of hmailserver without installation GUI

How to configure custom "Rules" automatically after installing hMail server using Powershell.

Below is the same Rule and it executes specific script function
hMailserverRule.PNG
by naren
2020-08-09 06:32
Forum: General discussions
Topic: Exception with Interop.hMailServer COM API on .net core 3.1
Replies: 2
Views: 307

Re: Exception with Interop.hMailServer COM API on .net core 3.1

I added Dot Net 3.5, but still not working. Let me do more troubleshooting
by naren
2020-08-09 05:57
Forum: General discussions
Topic: Error installing hMailServer on Windows Server 2016
Replies: 2
Views: 241

Error installing hMailServer on Windows Server 2016

I am trying to install hMailServer on Windows Server 2016 and getting below error (attached the screen shot)
InstallationError.png
Please suggest, how to fix this error ?
by naren
2020-08-07 07:50
Forum: General discussions
Topic: Exception with Interop.hMailServer COM API on .net core 3.1
Replies: 2
Views: 307

Exception with Interop.hMailServer COM API on .net core 3.1

I am getting below exception when using Interop.hMailServer on .net core 3.1 First i got below error when my platform is "Any CPU" or x64, BadImageFormatException: Could not load file or assembly 'Interop.hMailServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. An attempt was made to loa...
by naren
2020-05-26 06:50
Forum: General discussions
Topic: Automatic installation of hmailserver without installation GUI
Replies: 4
Views: 816

Re: Automatic installation of hmailserver without installation GUI

Our request is basically to spin up new server on fail over of existing server. To do this we would want to configure server settings and data base setting in file from which the automated installation reads and uses those values during installation.
by naren
2020-05-22 06:25
Forum: General discussions
Topic: Automatic installation of hmailserver without installation GUI
Replies: 4
Views: 816

Automatic installation of hmailserver without installation GUI

Can we install hmailserver without GUI ? Is there a way to automate the installation by use some kind of .json file or settings file to proceed for installation by reading the required settings from .json file or settings file.
by naren
2019-05-11 18:27
Forum: Scripting
Topic: how to know the mail type SENT vs REPLY vs FORWARD
Replies: 2
Views: 1714

how to know the mail type SENT vs REPLY vs FORWARD

Is there a way to know the type of mail whether its a SENT or REPLY or FORWARD mail ? I created a global rule on "From" criteria and calling a function on "action". Now in that function, how to know/differentiate whether its a SENT or REPLY or FORWARD mail ? (or) Is there any other approach to know ...
by naren
2019-05-03 17:04
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

Thank you @mattg and @SorenR.

I think for now we will go with global rule if from...
Hopefully this should solve our issue.
by naren
2019-05-03 05:20
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

we need to read the SENT message_id for our implementation.
by naren
2019-05-03 04:17
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

SorenR wrote:
2019-05-02 10:04
naren wrote:
2019-05-02 09:21
this event will be active for all the users.
Do you need to modify the message before delivery or is it only for reference?
we just want to read the message headers for mapping and store the message in data base.
by naren
2019-05-02 09:24
Forum: Scripting
Topic: exclude original email body in reply email
Replies: 5
Views: 2158

Re: exclude original email body in reply email

Thank you @mattg & @SorenR.

It worked.
by naren
2019-05-02 09:21
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

this event will be active for all the users.
by naren
2019-05-02 08:34
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

we would require to read the SENT message_id to continue our implementation.

Can you please let us know how proceed further on this ?
by naren
2019-05-02 06:12
Forum: Scripting
Topic: exclude original email body in reply email
Replies: 5
Views: 2158

Re: exclude original email body in reply email

currently we are using Mozilla Thunderbird.

Is there any other client which supports my scenario ?
by naren
2019-05-01 09:20
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

This worked.

Now i am able to trigger an event on email SENT
But, oMessage.ID is always returning the MessageID of message corresponding to INBOX folder.
How to get the MessageID of SENT folder ?
by naren
2019-05-01 09:13
Forum: Scripting
Topic: exclude original email body in reply email
Replies: 5
Views: 2158

exclude original email body in reply email

How to exclude original email body text from the email body of replied mail ? Below text is the oMessage.Body of reply email. Reply to email Day 8 Test 2 email SENT rule testing <<--- This is the body of replied email On 4/30/2019 11:41 PM, testuser3 wrote: <<-- This is original email body > Day 8 T...
by naren
2019-05-01 08:28
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

Great. Thank you @mattg. This should work.

Thank you.
by naren
2019-05-01 08:10
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

But this global rule will apply only for one account(me@example.com). But in my scenario, we need this functionality for all the accounts.
So how to create a global rule for all the accounts which will trigger a function when an email was SENT ?
by naren
2019-05-01 05:12
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

Re: trigger an event when an email is SENT

Thanks for the reply @mattg.

I am not sure how to create global rule and then call a function. if possible can please share some example.
by naren
2019-04-30 09:15
Forum: Scripting
Topic: trigger an event when an email is SENT
Replies: 21
Views: 5121

trigger an event when an email is SENT

How to write script to trigger an event when an email is SENT from an account. The basic scenario is, i want to do some operation when an email was SENT to an external account using hmailserver. but i am not able to find an event which triggers/fires when an email was SENT. (or) Is there a way to fi...