01-04-2009, 08:21 AM
You can use logging to detect some problems.
Macro
This is log file when works well.
Macro
if(QMVER<0x2030005) mes- "please download the latest QM version"
str s=
;smtp_server smtp.gmail.com
;smtp_port 465
;smtp_user xxxxxx@gmail.com
;smtp_password xxxxxxxxxxxxxxxxxxxx
;smtp_auth 2
;smtp_secure 1
;smtp_timeout 30
;smtp_email xxxxxx@gmail.com
;smtp_displayname "xxxxxxxxxxxxxxxxxxxxxx"
;smtp_replyto ""
SendMail "xxxxxx@yyyyyyyyyy.com" "test" "test" 0x80000 "" "" "" "" "" s
run "$my qm$\smtp_log.txt"This is log file when works well.
10:18:18 [MailBee SMTP v. 5.2. Registered version]
10:18:18 [Connecting to server smtp.gmail.com at port 465 from domain gmail.com]
10:18:18 [Initiating SSL Connection]
10:18:18 [Entering ESMTP authentication mode]
10:18:18 [Sending ehlo]
10:18:19 [Using LOGIN ESMTP authentication]
10:18:19 [Sending encoded UserName]
10:18:19 [Sending encoded Password]
10:18:19 [Authenticated]
10:18:19 [Preparing message]
10:18:19 [Sending the message over SMTP]
10:18:19 [Searching message for sender's and recipients' addresses]
10:18:19 [Sender: xxxxxxxx@gmail.com]
10:18:19 [Recipient: xxxxxxxx@xxxxxxxxx.com]
10:18:19 [Sending data command: data\r\n]
10:18:20 [Sending data chunk]
10:18:20 [Message data sent]
10:18:20 [The message has been accepted by the server for delivery]
10:18:20 [Disconnecting from the server]
10:18:20 [Connection closed]