Running Windows 8.1 Pro Preview (pb part of the problem) and trying to set up Mercury mail server. No matter how I start the config (via XAMP, directly from mercury.exe, as user or as Administrator) the settings are not saved. I exit it using the File\Exit Menu items. I edited the .ini file to disable some modules, to config other ones (used the MERCURY_EXAMPLE.INI) for key names so far. The only keys I'm still missing and I can't seem to find anywhere are the username, password and SSL settings for the [MercuryC] module.

Thanks in advance.

Dani AI

Generated

Short answer for : the MercuryC (SMTP relay client) stores the SMTP username and password as SMTP_Username and SMTP_Password in MERCURY.INI. A minimal example you can add to the [MercuryC] section is:

[MercuryC]
Host : smtp.example.com
SMTP_Username : user@example.com
SMTP_Password : yourpassword
ESMTP : 1
Poll : 30

These are the entries the GUI reflects and reads from the MERCURY.INI file. (community.pmail.com)

About SSL/TLS: Mercury historically uses explicit TLS (STARTTLS) rather than implicit SMTPS on port 465. In the MercuryC GUI the encryption is chosen via the “Connection port/type” or SSL controls (use port 587 / STARTTLS for most modern relays). If you need full SMTPS you’ll generally wrap with stunnel or use the server’s supported method. (computerwoche.de)

Why settings may not persist and how to fix it: confirm you are editing the correct file (XAMPP’s MERCURY.INI is under the XAMPP MercuryMail folder), make sure that file and the Mercury folder are writable (remove Read-Only, run the Mercury UI as Administrator), then stop Mercury, edit/save MERCURY.INI and restart. UAC/file-permission problems or an old Mercury build have caused identical “settings not saved” symptoms for other users; upgrading Mercury (users reported success after installing a newer release) also fixed the issue in at least one case. (apachefriends.org)

Quick checklist to apply now:

  • Stop Mercury, back up MERCURY.INI.
  • Edit [MercuryC] with SMTP_Username/SMTP_Password (use exact syntax shown).
  • Ensure file is writable (no read-only attribute) and run Mercury with elevated rights.
  • Restart Mercury and watch the MercuryC logfile (path set by Logfile in the same section) to confirm the client authenticates.
    As suggested, the PMail community has full MERCURY.INI examples and module notes if you need more keys or examples. (community.pmail.com)
Member Avatar for Member #949455

Running Windows 8.1 Pro Preview (pb part of the problem) and trying to set up Mercury mail server. No matter how I start the config (via XAMP, directly from mercury.exe, as user or as Administrator) the settings are not saved. I exit it using the File\Exit Menu items. I edited the .ini file to disable some modules, to config other ones (used the MERCURY_EXAMPLE.INI) for key names so far. The only keys I'm still missing and I can't seem to find anywhere are the username, password and SSL settings for the [MercuryC] module.

I don't think anyone can ask your question because not many people used this code.

I would suggest you ask this question on Mercury mail forum:

http://www.pmail.com/support.htm

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.