Jump to content

SendMail Advanced


BomAle
 Share

Recommended Posts

  • 2 weeks later...

New version uploaded:

  • Added
    • More informations to help understanding of settings
    • Ability to increase speed of task process
    • Priority based on Body of email
    • Priority based on Template loaded
    • Quick links for modules (email settings, email error logs, email templates-+)
  • Small bug fixes (order of email dalayed revised)

 

Link to comment
Share on other sites

  • 1 month later...
1 hour ago, Millipede said:

Am I right in thinking that the "Max email sent per time" is only for "when the SMTP Service is available", as it has the little red star indicating so?

This setting work when try to "send a new mail with IPS framework"1 and if MTA (not only smtp method, but anyone you have configured) is offline the email logged as "421 error" are processed when the service return online.

1. the counter increment before send is called, regardless of errors arising within send (\IPS\Email\Outgoing\Exception) because currently I have not found a way to detect if error is temporary or not (only 421 seem to be temporary).

1 hour ago, Millipede said:

IOW, it won't work when the "Mail delivery method" is set to PHP? 

As I specified in the answer above it works with the configured method.

Link to comment
Share on other sites

So, if my webhosts allow a max of 500 emails per hour, I would enter "450 - every hour" in "Max email sent per time" (with PHP mail), and I don't need to worry about any of the other settings? (I say "450" as an example, to allow for non-forum emails).

I only need it for Bulk emails, as my forum's not big and busy enough to send out anywhere near more than 500 emails per hour.

Link to comment
Share on other sites

Yes in your case 450 is raccomanded, keep in mind that email tests are not counted so it is right to remove some numbers from the maximum allowed (there are no other cases into IPS framework).

image.thumb.png.47b88d9212ac63a952a3d424b65201f6.png

I advise you to set up bulk mails with lower priority because they could delay the most priority emails.

image.thumb.png.cb0a8a75665300233e564e2e63183295.png

Link to comment
Share on other sites

  • 1 month later...

Some email service provider limit outgoing mails because the IP of machine could be banned by "block list" for possible spam.

This app help you avoid exceed limit and process the queue of email with 421 error (temporary unavailable) automatically based on configuration.

A rudimental counter to understand how many emails have been processed.

Contact your hosting about a SMTP server and ask what are the limit of service (often it is included with web hosting / small plan and limit around 200 email daily), otherwise you can upgrade your plan and increase the standard limit (example)

Edited by BomAle
Link to comment
Share on other sites

  • 3 weeks later...

Hi,

I'm interested in this app, just to know how many emails are actually going out every day, and in which cases emails are sent mostly.

Though I have some other questions / suggestions for it:

  1. Will this app work with other apps, f.e. "mail bouncer" or other email modifications, that will "ban emails", that can't be delivered for any reason? Or will "delayed emails" by your app lead to an "address ban" initiated by other apps?
  2. What happens if emails are restricted from being sent (due to too many emails in the queue), but there won't be any capacity later on to send them, as too many prioritized emails are waiting to be sent? Will the lower prioritized emails be deleted at any point of time? I'm asking as I don't want my members to receive low prioritized emails 1 month later for example. There should be a cut-off date.
  3. Is there any notification if emails won't be sent for a long time or never? For the member himself? For the admin?
  4. For my purposes, I'd like to split the sending of emails to different email providers. F.e. I'd like to send registration/password recovery emails via a paid service to go for sure that they will be delivered, BUT other notification emails should be sent via my own server (php email). This isn't possible with IPS. Is this something that might benefit your app in a future version? Or would this be better for an independent app?

^^no. 4 is one of the solutions I'm looking for for a long time. I want to use "free emails" from paid providers to sent the most important emails, but avoid other costs for follower notifications aso.

Thanks for a short response.

Link to comment
Share on other sites

3 hours ago, Cyboman said:

Will this app work with other apps, f.e. "mail bouncer" or other email modifications, that will "ban emails", that can't be delivered for any reason? Or will "delayed emails" by your app lead to an "address ban" initiated by other apps?

I suggest to report this on other third party app like "mail boucer", because all mail logged into core_mail_error_logs are available to be resent.

image.png.690110b806c2345fb61317a2c3835e66.png

Perhaps, I would add on next version a global filter to avoid resent email to banned/spam accounts and other member filters.

3 hours ago, Cyboman said:

What happens if emails are restricted from being sent (due to too many emails in the queue), but there won't be any capacity later on to send them, as too many prioritized emails are waiting to be sent? Will the lower prioritized emails be deleted at any point of time? I'm asking as I don't want my members to receive low prioritized emails 1 month later for example. There should be a cut-off date.

There is a prune setting removing after specific time the logged email with cleanup task

image.png.6bdbe166abde40f716ccc45c776475cc.pngimage.thumb.png.ebed213906ce5e1a4029228215f946e1.png

3 hours ago, Cyboman said:

Is there any notification if emails won't be sent for a long time or never? For the member himself? For the admin? 

I add some stats in future with ability to detect some issue like:

  • email delayed more than X time (avoiding loop email and mark under review)
  • unprocessed email delayed (interval from logged date to sent date must be at most X days, otherwise them are marked under review on a specific page purpose-built)
3 hours ago, Cyboman said:

For my purposes, I'd like to split the sending of emails to different email providers. F.e. I'd like to send registration/password recovery emails via a paid service to go for sure that they will be delivered, BUT other notification emails should be sent via my own server (php email). This isn't possible with IPS. Is this something that might benefit your app in a future version? Or would this be better for an independent app? 

I would personality add this feature on app but not on upcoming release, I am busy with other projects and jobs.

Edited by BomAle
Link to comment
Share on other sites

  • 4 months later...
  • 3 weeks later...
19 hours ago, DSyste said:

Any forecast to update this application?

Some Mistakes Happening with IPS 4.4

What mistakes?

40 minutes ago, BomAle said:

I stopped support, if anyone interested continue the work for this app is free to do

Sad(

I can try if no one don't mind. Subject MTA me quite familiar) And the application is very interesting, though not entirely relevant for me personally

Edited by MIXOH
Link to comment
Share on other sites

Update to IPS 4.4 and I get the following error:

#0 /home/ba/web/eletronicabr.com/public_html/system/Member/Member.php(153): IPS\_Session::i()
#1 /home/ba/web/eletronicabr.com/public_html/init.php(588) : eval()'d code(13): IPS\_Member::loggedIn()
#2 /home/ba/web/eletronicabr.com/public_html/system/DateTime/DateTime.php(537): IPS\cjdml_hook_member::loggedIn()
#3 /home/ba/web/eletronicabr.com/public_html/system/DateTime/DateTime.php(501): IPS\_DateTime::determineLanguage(NULL)
#4 /home/ba/web/eletronicabr.com/public_html/system/Email/Email.php(746): IPS\_DateTime->format('Y-m-d')
#5 /home/ba/web/eletronicabr.com/public_html/system/Email/Email.php(673): IPS\_Email->_trackStatistics()
#6 [internal function]: IPS\_Email->send(Array, Array, Array, 'equipe@eletroni...', 'Eletr\xC3\xB4nicaBR.c...', Array)
#7 /home/ba/web/eletronicabr.com/public_html/init.php(588) : eval()'d code(130): call_user_func_array('parent::send', Array)
#8 /home/ba/web/eletronicabr.com/public_html/applications/emailrestrict/tasks/EmailRestrictions.php(175): IPS\emailrestrict_hook_email->send(Array, Array, Array, 'equipe@eletroni...', 'Eletr\xC3\xB4nicaBR.c...', Array)
#9 /home/ba/web/eletronicabr.com/public_html/system/Task/Task.php(356): IPS\emailrestrict\tasks\_EmailRestrictions->callback()
#10 /home/ba/web/eletronicabr.com/public_html/applications/emailrestrict/tasks/EmailRestrictions.php(40): IPS\_Task->runUntilTimeout(Array, '10')
#11 /home/ba/web/eletronicabr.com/public_html/system/Task/Task.php(255): IPS\emailrestrict\tasks\_EmailRestrictions->execute()
#12 /home/ba/web/eletronicabr.com/public_html/system/Task/Task.php(224): IPS\_Task->run()
#13 /home/ba/web/eletronicabr.com/public_html/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
#14 {main}

Link to comment
Share on other sites

10 minutes ago, DSyste said:

Update to IPS 4.4 and I get the following error:

I just installed the application on a clean 4.4.1. No problems were observed. In addition, I see that the problem is not only with this application.

Try to temporarily disable the problem in your opinion application.

Link to comment
Share on other sites

App has been removed and the error continues.

#0 /home/ba/web/eletronicabr.com/public_html/system/Member/Member.php(153): IPS\_Session::i()
#1 /home/ba/web/eletronicabr.com/public_html/system/DateTime/DateTime.php(537): IPS\_Member::loggedIn()
#2 /home/ba/web/eletronicabr.com/public_html/system/DateTime/DateTime.php(501): IPS\_DateTime::determineLanguage(NULL)
#3 /home/ba/web/eletronicabr.com/public_html/system/Email/Email.php(746): IPS\_DateTime->format('Y-m-d')
#4 /home/ba/web/eletronicabr.com/public_html/system/Email/Email.php(673): IPS\_Email->_trackStatistics()
#5 [internal function]: IPS\_Email->send(Array, Array, Array, 'equipe@eletroni...', 'Eletr\xC3\xB4nicaBR.c...', Array)
#6 /home/ba/web/eletronicabr.com/public_html/init.php(588) : eval()'d code(130): call_user_func_array('parent::send', Array)
#7 /home/ba/web/eletronicabr.com/public_html/applications/emailrestrict/tasks/EmailRestrictions.php(175): IPS\emailrestrict_hook_email->send(Array, Array, Array, 'equipe@eletroni...', 'Eletr\xC3\xB4nicaBR.c...', Array)
#8 /home/ba/web/eletronicabr.com/public_html/system/Task/Task.php(356): IPS\emailrestrict\tasks\_EmailRestrictions->callback()
#9 /home/ba/web/eletronicabr.com/public_html/applications/emailrestrict/tasks/EmailRestrictions.php(40): IPS\_Task->runUntilTimeout(Array, '1')
#10 /home/ba/web/eletronicabr.com/public_html/system/Task/Task.php(255): IPS\emailrestrict\tasks\_EmailRestrictions->execute()
#11 /home/ba/web/eletronicabr.com/public_html/system/Task/Task.php(224): IPS\_Task->run()
#12 /home/ba/web/eletronicabr.com/public_html/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
#13 {main}

Detail: In the test environment, the error does not appear. This error appears in the logs when there is mail in the queue for sending.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...