char buf[64]; mtaLog("Version: %d.%d-%d", mtaVersionMajor(), mtaVersionMinor(), mtaVersionRevision()); mtaLog("Date/time: %s", mtaDateTime(buf, NULL, sizeof(buf), 0)); mtaLog("Postmaster address: %s", mtaPostmasterAddress(NULL, NULL)); |
The following output is generated by the preceding code example.
12:43:24.62: Version: 6.0-0 12:43:24.62: Date/time: Thu, 01 May 2003 12:43:24 -0700 12:43:24.63: Postmaster address: postman@mailhub.siroe.com |