Error in Mailing Extensions: Difference between revisions
From Joomla! Documentation
Created page with "<!-- Start with an intro below this line --> ==Errors reported== "Invalid Address" is reported when sending emails == Versions affected == {{refers_to|3.5.1 and higher}} ==..." |
Tagged/Marked for translation |
||
| Line 1: | Line 1: | ||
< | <noinclude><languages /></noinclude> | ||
<noinclude>{{Joomla version|version=3.5.1}}</noinclude> | |||
<translate> | |||
==Errors reported== | ==Errors reported== | ||
"Invalid Address" is reported when sending emails | </translate> | ||
<translate>"Invalid Address" is reported when sending emails</translate> | |||
<translate> | |||
== Versions affected == | == Versions affected == | ||
{{ | </translate> | ||
{{tip|<translate>This pertains only to Joomla! version(s): '''3.5.1 and higher'''</translate>|title= | |||
<translate>General Information</translate>}} | |||
<translate> | |||
== What is the cause== | == What is the cause== | ||
In Joomla 3.5.1 the Core Team changed how the error handling works in Joomla 3.5.1 - to work around a bug in sending SMTP emails in Joomla 3.5.0. This means that errors that were previously ignored in Joomla Versions are now escalated to a higher level and could stop emails from being sent. | </translate> | ||
<translate>In Joomla 3.5.1 the Core Team changed how the error handling works in Joomla 3.5.1 - to work around a bug in sending SMTP emails in Joomla 3.5.0. This means that errors that were previously ignored in Joomla Versions are now escalated to a higher level and could stop emails from being sent.</translate> | |||
<translate> | |||
== How to fix == | == How to fix == | ||
Update your extensions to the latest versions. | </translate> | ||
<translate>Update your extensions to the latest versions.</translate> | |||
<translate> | |||
== How to fix (for Extension Developers) == | == How to fix (for Extension Developers) == | ||
Ensure that you are following the Joomla Mail API - it has not changed - however the error reporting has - so any changes made should be completely backwards compatible with Joomla 3.4 and lower. | </translate> | ||
<translate>Ensure that you are following the Joomla Mail API - it has not changed - however the error reporting has - so any changes made should be completely backwards compatible with Joomla 3.4 and lower.</translate> | |||
Generally the highest error case has been injecting an array into JMail::addReplyTo() instead of putting in two separate parameters. It is also important to trying to catch the exceptions that are being thrown since Joomla 3.5.1. | <translate>Generally the highest error case has been injecting an array into <tt>JMail::addReplyTo()</tt> instead of putting in two separate parameters. It is also important to trying to catch the exceptions that are being thrown since Joomla 3.5.1.</translate> | ||
<translate> | |||
== Further Reading == | == Further Reading == | ||
This post on the forum gives additional developer information http://forum.joomla.org/viewtopic.php?f=710&t=917243#p3386316 | </translate> | ||
<translate>This post on the forum gives additional developer information</translate> http://forum.joomla.org/viewtopic.php?f=710&t=917243#p3386316 | |||
<noinclude> | |||
<translate> | |||
[[Category:Version 3.5 FAQ]] | [[Category:Version 3.5 FAQ]] | ||
[[Category:Version 3.5.1 FAQ]] | [[Category:Version 3.5.1 FAQ]] | ||
[[Category:FAQ]] | [[Category:FAQ]] | ||
[[Category:Joomla! 3.5]] | [[Category:Joomla! 3.5]] | ||
</translate> | |||
</noinclude> | |||
Revision as of 18:40, 9 April 2016
Errors reported
"Invalid Address" is reported when sending emails
Versions affected
This pertains only to Joomla! version(s): 3.5.1 and higher
What is the cause
In Joomla 3.5.1 the Core Team changed how the error handling works in Joomla 3.5.1 - to work around a bug in sending SMTP emails in Joomla 3.5.0. This means that errors that were previously ignored in Joomla Versions are now escalated to a higher level and could stop emails from being sent.
How to fix
Update your extensions to the latest versions.
How to fix (for Extension Developers)
Ensure that you are following the Joomla Mail API - it has not changed - however the error reporting has - so any changes made should be completely backwards compatible with Joomla 3.4 and lower.
Generally the highest error case has been injecting an array into JMail::addReplyTo() instead of putting in two separate parameters. It is also important to trying to catch the exceptions that are being thrown since Joomla 3.5.1.
Further Reading
This post on the forum gives additional developer information http://forum.joomla.org/viewtopic.php?f=710&t=917243#p3386316