Error sending email with NMS

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Error sending email with NMS

Post by bitsuicide »

MODULE: NMS
CMS Version: 1.11.9 "Bartolome"

Hi,
i'm sending email with newsletter made simple, but today i've this error:
"Errore 500
Errore interno del server

Il server ha incontrato un errore interno o un problema di errata configurazione e non riesce a completare la richiesta inserita.

Questo errore può essere causato da uno script CGI non funzionante o da un file .htaccess contenente degli errori."
I can't understand which problem is...

.HTACCESS:

Code: Select all

# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"

#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off

# (this is important, so uncomment if your host permit)
#Options -Indexes
#ServerSignature Off

#Options +FollowSymLinks

# To prevent E_STRICT problems with PHP 5.3+ you can uncomment the following lines
# Note: These settings should only be enabled for production sites!
#php_flag display_startup_errors 0
#php_flag display_errors 0
#php_flag html_errors 0
#php_value docref_root 0
#php_value docref_ext 0

<IfModule mod_rewrite.c>
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /

# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>

<IfModule mod_header.c>
# Disable ETags
Header unset ETag
FileEtag None
</IfModule>

<IfModule mod_deflate.c>
# Compress css, plaintext, xml, gif, and images in transport.
AddOutputFilterByType DEFLATE text/css text/plain text/xml image/gif image/jpeg image/png
</IfModule>

<IfModule mod_expires.c>
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
# Set expires tags on various files... so that the browser wont attempt to reload them.
ExpiresActive On
ExpiresDefault "access plus 1 year"
<IfModule mod_header.c>
  # Setting cache control to public allowes proxy servers to cache the items too.
  Header set Cache-Control "public"
</IfModule>
</FilesMatch>
</IfModule>

Thanks
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Error sending email with NMS

Post by staartmees »

Which mailmethod are you using (see CMSMailer)?
Can you send a test e-mail with CMSMailer?
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

staartmees wrote:Which mailmethod are you using (see CMSMailer)?
Can you send a test e-mail with CMSMailer?
Yes, i use cmsmailer and the test works.
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

staartmees wrote:Which mailmethod are you using (see CMSMailer)?
Can you send a test e-mail with CMSMailer?
the job process send 21% of 284 emails and then it stops.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Error sending email with NMS

Post by staartmees »

Is the number of emails you can send in 1 hour limited by your hostingprovider?
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

staartmees wrote:Is the number of emails you can send in 1 hour limited by your hostingprovider?
No, last week it works. Then i've upgraded CMS... If i send all e-mail three times in 10 minutes, nms send 20%, 25% and 21% each time. There are some parameters for sending e-mail in interactive mode?
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Error sending email with NMS

Post by staartmees »

try limiting the number of mails send in one hour

Extensions > Newsletter Made Simple > Preferences > Maximum number of messages to send per hour: 60
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

ok, but my hosting doesn't allow crontab (tophost... low cost, low services)... do you think that i can set the limit of 60 emails per hour and schedulate the interactive job with a free setcronjob? I think that i must be logged in admin
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

the old NMS sent packets of 50 emails, one afther the other and it works... but i can't do the downgrade
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

I've set a crontab every 10 minutes and the job starts at 12:00. Now, after 2 hours and 40minutes, the process is at 5%. It's so slow...

The parameters are:
-NMS-
Maximum number of messages to send per hour: 60

-Calguys Job Processing Manager-
Interval (in minutes) between cron jobs: 0
Escalation Interval Limit: 10
Iteration Timeout (seconds): 0
Maximum number of redirects: 10
Iterative Task Slack: 1.25

I call a the Job Processing URL with an external crontab freeware (SetCronJob) every 10 minutes.
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

i've change the method of sending emails from SMTP to MAIL.
In this mode i use an external service of mailing and it works.
It's a problem of tophost, i suppose. There are some configuration on the service of tophost? Thanks
tania2014
New Member
New Member
Posts: 2
Joined: Sun Dec 29, 2013 7:38 am

Re: Error sending email with NMS

Post by tania2014 »

bitsuicide wrote:ok, but my hosting doesn't allow crontab (tophost... low cost, low services)... do you think that i can set the limit of 60 emails per hour and schedulate the interactive job with a free setcronjob? I think that i must be logged in admin
If you don't have privilege to setup cron job, a third party webcron may be a good option for you. Check out a tutorial at http://www.easycron.com/tutorials/how-t ... e-cgjobmgr
bitsuicide
Forum Members
Forum Members
Posts: 13
Joined: Tue Mar 27, 2012 8:33 am

Re: Error sending email with NMS

Post by bitsuicide »

UPDATE: it doesn't with any send mail method.
I don't know if it's a problem of:
  • hosting parameters (tophost)
  • table's sizing in mysql (there was a lot of entries)
  • CMSmailer's parameters
With an external crontab the job doesn't complete but i'll study what you have posted. Tnx
Post Reply

Return to “Modules/Add-Ons”