Notify always sends two e-mails (solved)

Hi, please could anyone help? Notify always sends 2 e-mails.

I Use MODX Revolution 2.7.1 with Notify1.4.2 and Subscribe 1.2.2. Here my Error-Log:

[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 347) 
Total Count: 1
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 369)  ************* NEW BATCH -- Batch 1
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 372) Clearing User Data
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 376) User Data Cleared
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 382) Doing Query
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 389) Query completed 
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 394) Count: 1 -- Offset: 25
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 398) 

1  Count: 1
Offset: 25
BatchSize: 25
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 417) Qualifying users
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 432) User qualified
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 439) Injecting Unsubscribe URL-- User: 1 -- Username: pms-test -- UnsubURL: https://testseite.de/abo/unsubscribe.html
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 448) 
Unsub URL: https://testseite.de/abo/unsubscribe.html?ue=am9saWNAcG9zdGVvLmRl&uk=R7WXT0NDwqduIjr9qWnmGJz9vhR1kgpX-SXshCIUiCY
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 449) Unsubscribe injected -- User: 1 -- Username: pms-test
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 490) 
pms-test -- testuser@gmx.de
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 497) All users added
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/model/modx/mail/modphpmailer.class.php : 175) You must provide an email address to send to.
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 510)  Response code: 
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 520)  No Exception -- bad code -- Batch 1 -- Attempt: 1 -- Code: 
[2019-04-29 01:05:51] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 528) Exception -- Batch 1 Retrying Attempt: 1
[2019-04-29 01:05:52] (ERROR @ /myserver..../modx/core/model/modx/mail/modphpmailer.class.php : 175) You must provide an email address to send to.
[2019-04-29 01:05:52] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 510)  Response code: 
[2019-04-29 01:05:52] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 520)  No Exception -- bad code -- Batch 1 -- Attempt: 2 -- Code: 
[2019-04-29 01:05:52] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 528) Exception -- Batch 1 Retrying Attempt: 2
[2019-04-29 01:05:53] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 540) 
Full response: 
1

[2019-04-29 01:05:53] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 546) End of batch error -- code: 
[2019-04-29 01:05:56] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 660) Removing old files
[2019-04-29 01:05:56] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 675) Removing an old file
[2019-04-29 01:05:56] (ERROR @ /myserver..../modx/core/components/notify/processors/mgr/nfsendemail.class.php : 681) All old files removed

Hi, I found this similar issue in the old forum.

Unfortunately, without a solution.
btw: Today I tested this with a new local installation and get the same error.
It can’t be the PHPMailer, because emails sends with FormIt only once?

Thanks
Jo

Perhaps you need to bring in @bobray to assist with this? It is his snippet.

It might be worthwhile to share php version and phpmailer version as well as to show your Snippet call and Property Settings for Notify.

1 Like

Thanks Jay, you are right and I found this info on docs.modx.com:

Bugs and feature requests can be filed here: Notify issues page.

I’ll report that to bobray.

Sorry Jo

It still may be worthwhile having the discussion here or at least try to post back if you find a solution.

There was no reply-to email address, so PhpMailer did not report success even though it actually sent the email. Notify then retried the send because of the lack of a success report.

2 Likes

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.