I am creating mailboxes on-the-fly.
Everything is peachy minus 1 little issue.......
I need to be able to tell the mailbox to call a script "ON DELIVERY".
MailEnable has the option in the server console...this won't work for what I need to do.
Basically I need to parse any email coming into these dynamically created boxes.... I need to do it as soon as the email hits....
Is there an undocumented property that I can set for what script I want to call?
Help - exec on delivery.
Re: Help - exec on delivery.
You can use the "enable delivery event" which is available for each mailbox. right click -->properties --> actionsjadon1979 wrote:I am creating mailboxes on-the-fly.
Everything is peachy minus 1 little issue.......
I need to be able to tell the mailbox to call a script "ON DELIVERY".
MailEnable has the option in the server console...this won't work for what I need to do.
Basically I need to parse any email coming into these dynamically created boxes.... I need to do it as soon as the email hits....
Is there an undocumented property that I can set for what script I want to call?
Either that or grab it at the MTA level, while it's still in the queue.
Depends on what you are trying to achieve.
OK, sorry I wasn't following exactly what you are trying to do.jadon1979 wrote:negative.
I'm dynamically creating the mailboxes through a script. I need to be able to set the ONDELIVERY script per each dynamically created box on-the-fly.
When you create the mailbox, you need to create a file called "username".sys
Assuming you have a default install it'll be in
C:\Program Files\Mail Enable\Config\Postoffices\**POSTOFFICENAME**\MAILBOXES\
The file needs to look like this
[General]
ReplyAddress=user@domain.com.au
MailBox-DropEventStatus=1
MailBox-DropEvent=PathToFile.exe
hope this is helpful.
cheers,
Owen