Skip to content
hMailServer 6.3.3 — signed 15 September 2026, Windows and Linux, database schema 6040, and a drop-in upgrade from any 5.x install.Download 6.3.3 Documentation

Scripting & the COM API

2.6k Topics 2.6k Posts

VBScript and JScript event handlers, OnAcceptMessage and friends, the COM API and the Import Tool — Windows only. Paste the script and the error it raised.

  • How to save message body to file.

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-04-26 in Scripting. The original discussion is at hmailserver.com (topic 29695) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Script to rename Attachment file type

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-04-21 in Scripting. The original discussion is at hmailserver.com (topic 29680) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • See Account Sizes

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-04-20 in Scripting. The original discussion is at hmailserver.com (topic 29674) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • VB Script for adding UTF-8

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-04-13 in Scripting. The original discussion is at hmailserver.com (topic 29621) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Sent Email Function Error

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-04-07 in Scripting. The original discussion is at hmailserver.com (topic 29546) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Automatically send email received receipt

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-04-04 in Scripting. The original discussion is at hmailserver.com (topic 29520) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • 0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-04-03 in Scripting. The original discussion is at hmailserver.com (topic 29510) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Looking for a script that will forward during certain times

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-03-23 in Scripting. The original discussion is at hmailserver.com (topic 29434) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • SpamAssassin training has no effect

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-03-15 in Scripting. The original discussion is at hmailserver.com (topic 29395) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Automatic Recipient Whitelisting

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-03-11 in User contributed hMailServer 5 scripts. The original discussion is at hmailserver.com (topic 29381) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • no from address in send message

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-03-08 in Scripting. The original discussion is at hmailserver.com (topic 29362) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Looking for a script to alter Subject Line after delivery

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-03-08 in Scripting. The original discussion is at hmailserver.com (topic 29359) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Email Signature Placement Script

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-03-07 in User contributed hMailServer 5 scripts. The original discussion is at hmailserver.com (topic 29348) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • HOW TO: On-the-fly Disposable/Catchall Addresses with Blacklisting

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-02-29 in User contributed hMailServer 5 scripts. The original discussion is at hmailserver.com (topic 29306) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Distribution List

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-02-29 in Scripting. The original discussion is at hmailserver.com (topic 29305) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • block certain users to send external emails from hmail server

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-02-27 in Scripting. The original discussion is at hmailserver.com (topic 29300) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Backup problems

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-02-26 in Scripting. The original discussion is at hmailserver.com (topic 29282) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • 0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-02-24 in User contributed hMailServer 5 scripts. The original discussion is at hmailserver.com (topic 29272) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Error message: HRESULT: 0x800403E9 in scripts tab

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-02-22 in Scripting. The original discussion is at hmailserver.com (topic 29260) with an archived copy. If it is still relevant to you, feel free to continue it here.
  • Determine if incoming or outgoing email

    archive
    1
    0 Votes
    1 Posts
    0 Views
    A
    This topic was carried over (title only) from the original hMailServer community forum, where it was started on 2016-02-17 in Scripting. The original discussion is at hmailserver.com (topic 29231) with an archived copy. If it is still relevant to you, feel free to continue it here.