Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Outlook Automation with Kerio Connect (Changing Reply-To Automatically)
  •  
Kyudos

Messages: 2
Karma: 0
Send a private message to this user
I'm using Kerio Connector with Outlook 2007. I occasionally need to reply to e-mails from our Support address rather than my personal work address. It is quite painful to go to Tools|Options|Kerio Connect|Customize Sender..., change the email, send the reply, then go and change it back again.

I thought I might be able to use Outlook VBA to get around this. I tried this:

Public Sub ReplyAsSupport()

Dim oAccount As Outlook.Account
Dim oMail As Outlook.MailItem

For Each oAccount In Application.Session.Accounts
    If oAccount = "Kerio Connect (KOC Offline Edition)" Then
        Set oMail = Application.ActiveExplorer.Selection(1).Reply
        oMail.SendUsingAccount = oAccount
        oMail.SentOnBehalfOfName = "support<_at_>address.com"
        If (oMail.ReplyRecipients.Count > 0) Then
            Call oMail.ReplyRecipients.Remove(1)
        End If
        
        Call oMail.ReplyRecipients.Add("support<_at_>address.com")
        oMail.Display
    End If
Next

End Sub


but it doesn't seem to work. Is there anyway to create a macro to change the Kerio Reply-To and/or E-mail addresses? Preferably, as above, on an individual reply basis? (i.e., I'd like to have a "Reply as Support" button in Outlook)

Cheers.

[Updated on: Tue, 11 June 2013 01:14]

  •  
Kyudos

Messages: 2
Karma: 0
Send a private message to this user
I know it is somewhat bad form - but I'm bumping this, because I'd really like to be able to do this.

Is it possible, or should this become a feature request?
Previous Topic: KOFMSP.dll
Next Topic: Remove KBC assigned device
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Aug 20 00:20:48 CEST 2017

Total time taken to generate the page: 0.00331 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.