[fixed] check email error

Forum rules
Only administrators can post or move items here.
Post Reply
User avatar
RogierDamen
Forum Members
Forum Members
Posts: 73
Joined: Fri Sep 21, 2012 8:00 pm

[fixed] check email error

Post by RogierDamen »

checking the email setting results in this error:

Code: Select all

Debug: (1,8E-5) - (usage: 2839764) - (peak: 2954676)

checkthisnow@gmail.com

Fatal error: Uncaught exception 'phpmailerException' with message 'SMTP Error: The following recipients failed: info@checkthis.nl' in /home/chadmin/domains/mydom.nl/public_html/lib/phpmailer/class.phpmailer.php:847 Stack trace: #0 /home/chadmin/domains/mydom.nl/public_html/lib/phpmailer/class.phpmailer.php(661): PHPMailer->SmtpSend('Date: Wed, 9 Ju...', '<h2 style="colo...') #1 /home/chadmin/domains/mydom.nl/public_html/lib/phpmailer/class.phpmailer.php(589): PHPMailer->PostSend() #2 /home/chadmin/domains/mydom.nl/public_html/lib/classes/class.cms_mailer.php(813): PHPMailer->Send() #3 /home/chadmin/domains/mydom.nl/public_html/admin/siteprefs.php(218): cms_mailer->Send() #4 {main} thrown in /home/chadmin/domains/mydom.nl/public_html/lib/phpmailer/class.phpmailer.php on line 847
JohnnyB
Dev Team Member
Dev Team Member
Posts: 729
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: check email error

Post by JohnnyB »

You will have to provide more information about your CMS and server (see system information in the admin).

Also, it maybe a bit premature to say this without more details, I believe it has to do with the CMSMailer's phpmailer class since it is outdated. New releases fixed bugs related to similar errors.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
RogierDamen
Forum Members
Forum Members
Posts: 73
Joined: Fri Sep 21, 2012 8:00 pm

Re: check email error

Post by RogierDamen »

It's just a first test install so I've not yet tweaked it.
System info:

Code: Select all

CMS Installatie informatie
CMS Versie 		2.0-beta1


Geïnstalleerde Modules
AdminSearch 		1.0
CMSContentManager 		1.0
CMSPrinting 		1.50
DesignManager 		1.0
FileManager 		1.5
MicroTiny 		2.0
ModuleManager 		2.0
Navigator 		1.0
News 		2.50
Search 		1.50


CMS Made Simple Config Instellingen
php_memory_limit 		 
max_upload_size 		20000000
url_rewriting 		none
page_extension 		 
query_var 		page
auto_alias_content 		true
locale 		 
default_encoding 		utf-8
admin_encoding 		utf-8
set_names 		true
timezone 		Europe/Amsterdam
debug 		false
root_url 		http://www.mydom.nl
ssl_url 		https://www.mydom.nl
root_path 	Succes 	/home/chadmin/domains/mydom.nl/public_html (0755)
uploads_path 	Succes 	/home/chadmin/domains/mydom.nl/public_html/uploads (0755)
uploads_url 		http://www.mydom.nl/uploads
image_uploads_path 	Succes 	/home/chadmin/domains/mydom.nl/public_html/uploads/images (0755)
image_uploads_url 		http://www.mydom.nl/uploads/images
ssl_uploads_url 		https://www.mydom.nl/uploads


Performance and Tuning Information
Browsers mogen pagina's in de buffer opnemen 	Let op 	Uit (Onwaar)
Allowing browsers to cache pages will improve performance by not requiring your system to serve the page on repeated visits to a page.
Browser Buffer Verloop Periode (minuten) 	Succes 	60
Schakel smarty caching in 	Let op 	Uit (Onwaar)
Enabling smarty caching can have serious performance benefits for most websites.
Doe een bundelingscontrole 	Succes 	Uit (Onwaar)
Cache UDT aanvragen 	Let op 	Uit (Onwaar)
Caching user defined tags can have serious performance benefits. Use caution
Verwijder gebufferde bestanden die ouder zijn dan het gespecificeerde aantal dagen 	Let op 	Uit (Onwaar)
The system should be configured to destroy old temporary files after a reasonable time to improve performance and minimize disk space requirements


PHP Informatie
Huidige PHP versie (phpversion) 	Let op 	 5.4.21
md5 functie (md5_function) 	Succes 	 Aan (Waar)
JSON functions (json_function) 	Succes 	 Aan (Waar)
GD versie (gd_version) 	Succes 	 2
tempnam functie (tempnam_function) 	Succes 	 Aan (Waar)
Er bevinden magic quotes in de runtime (magic_quotes_runtime) 	Succes 	 Uit (Onwaar)
Is E_STRICT uitgeschakeld in error_reporting (E_STRICT) 	Let op 	E_STRICT is uitgeschakeld in error_reporting
Is E_DEPRECATED uitgeschakeld in error_reporting (E_DEPRECATED) 	Let op 	E_DEPRECATED is ingeschakeld
Testing for time difference in the filesystem (test_file_timedifference) 		
Testing for time difference in the database (test_db_timedifference) 		
PHP Memory Limit (memory_limit) 	Succes 	 256M
Maximale Uitvoertijd (max_execution_time) 	Let op 	 30 ?	
PHP output_buffering (output_buffering) 	Succes 	 Aan
PHP Safe Mode (safe_mode) 	Succes 	 Uit (Onwaar)
Bestand uploads (file_uploads) 	Succes 	 Aan (Waar)
Maximale Post Grootte (post_max_size) 	Succes 	 20M
Maximale Upload Grootte (upload_max_filesize) 	Succes 	 20M
Session Save Path (session_save_path) 	Let op 	 Geen controle omdat 'open_basedir' actief is ?	
Gebruik sessie-cookies (session_use_cookies) 	Succes 	 Aan (Waar)
Basis XML (expat) ondersteuning (xml_function) 	Succes 	 Aan (Waar)
Controle voor de XMLReader class (xmlreader_class) 	Succes 	 Aan (Waar)
Controle of het httpd proces een bestand in de aangemaakte directory kan maken (create_dir_and_file) 	Succes 	
PHP register_globals (register_globals) 	Succes 	 Uit (Onwaar)
disable_functions in PHP (disable_functions) 	Let op 	 symlink, popen, system, exec, proc_get_status, proc_nice, proc_terminate, define_syslog_variables, syslog, openlog, closelog, escapeshellcmd, passthru, ocinumcols, ini_alter, leak, listen, chgrp, apache_note, apache_setenv, debugger_on, debugger_off, ftp_exec, dl, dll, ftp, disk_free_space, disk_total_space, shell_exec, eval, proc_close, proc_open, allow_url_fopen, show_source, get_current_user, getmyuid, apache_child_terminate, pfsockopen, posix_ctermid, posix_get_last_error, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getppid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_strerror, posix_times, posix_ttyname, posix_uname ?	
PHP Open Basedir (open_basedir) 	Let op 	 /home:/tmp:/usr/local/php6:/usr/local/lib/php/wpblock ?	
Testen van externe URL (test_remote_url) 	Succes 	
fsockopen: Verbinden geslaagd! Succes
fopen: Verbinden geslaagd! Succes
Controleer ini_set (check_ini_set) 	Succes 	 Aan (Waar)
Test voor de curl bibliotheek (curl) 	Succes 	 Aan
Test Curl versie (curlversion) 	Succes 	 versie 7.33.0, minimaal aanbevolen versie is 7.19.7


Server Informatie
Server API (server_api) 		cgi-fcgi
Server Database (server_db_type) 		mysql (mysqli)
Server Database Versie (server_db_version) 	Succes 	5.5.34
Controleer toegangsniveau van de database (server_db_grants) 	Succes 	er is een "grand all" permissie gevonden, alles lijkt in orde.
Controle op een tijdverschil tussen het bestandsysteem en de server (server_time_diff) 	Succes 	geen tijdverschil aangetroffen
Server Software (server_software) 		apache/2
Server Operating System (server_os) 		linux 2.6.18-374.12.1.el5.lve0.8.54pae aan i686


Autorisatie informatie
tmp 	Succes 	/home/chadmin/domains/mydom.nl/public_html/tmp (0755)
tmp_cache 	Succes 	/home/chadmin/domains/mydom.nl/public_html/tmp/cache (0755)
templates_c 	Succes 	/home/chadmin/domains/mydom.nl/public_html/tmp/templates_c (0755)
modules 	Succes 	/home/chadmin/domains/mydom.nl/public_html/modules (0755)
uploads 	Succes 	/home/chadmin/domains/mydom.nl/public_html/uploads (0755)
Bestandscreatiemasker (umask) 	Succes 	/home/chadmin/domains/mydom.nl/public_html/tmp/cache (0755)
And the modules:

Code: Select all

system 	AdminSearch 	1.0 	  	
system 	CMSContentManager 	1.0 	  	
system 	CMSPrinting 	1.50 	  	
system 	DesignManager 	1.0 	  	
system 	FileManager 	1.5 	 
Has dependants: (MicroTiny) 		
system 	MicroTiny 	2.0 	  
system 	ModuleManager 	2.0 
system 	Navigator 	1.0 	
system 	News 	2.50 
system 	Search 	1.50 
JohnnyB
Dev Team Member
Dev Team Member
Posts: 729
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: check email error

Post by JohnnyB »

I suspect it is the phpmailer class. It looks like beta is still using the older 5.2.1 version. There has been an update that addressed some SMTP transport issues.

Unofficially, I had a similar issue and replacing the CMSMS phpmailer version with the new phpmailer release corrected the problem.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
JohnnyB
Dev Team Member
Dev Team Member
Posts: 729
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: check email error

Post by JohnnyB »

Just one other thing.
If you are using a gmail address as your SMTP be sure to use TLS on 587.
SSL and 465 was deprecated by gmail.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: check email error

Post by calguy1000 »

It was merely a problem with an exception not being caught.
Fixed in svn.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Closed Issues”