Skip to Content Skip to Menu

SMTP mails don't works witj CB

  • bruno_c
  • bruno_c
  • OFFLINE
  • Posts: 24
  • Thanks: 2
  • Karma: 0
10 years 7 months ago #242145 by bruno_c
SMTP mails don't works witj CB was created by bruno_c
Hello,
joomla 3.2.2 CB 1.9.1 Uddeim3.2 PublicMail
MySQL 5.5.33-log PHP 5.4.19
I use SMTP for the delivered emails control
Joomla emailing and The PublicMail works fine with SMTP.
Uddeim seems to send notification's mails without SMTP
CB mailing don't work with SMTP
I have Retesting the CB mailing action on Joomla debug and there is no debug error and the CB mailing doesn't work.
I have followed the FAQ Email Issues without success.
Can you help me please.
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 7 months ago #242176 by krileon
Replied by krileon on topic SMTP mails don't works witj CB
Please see the below as an example for configuring Joomla SMTP to work with CB.

www.joomlapolis.com/forum/153-professional-member-support/221671-cannot-receive-registration-e-mails?start=24#229809


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • bruno_c
  • bruno_c
  • OFFLINE
  • Posts: 24
  • Thanks: 2
  • Karma: 0
10 years 7 months ago - 10 years 7 months ago #242191 by bruno_c
Replied by bruno_c on topic SMTP mails don't works with CB

Thank you for your reply,
For your complete information, i have installed the CMandril plugin for control my delivered emails.
i have changed the emailing parameter of Uddeim in the system from PHPMAil(default) by mosMail and the users notification are correctly delivred with the SMTP emailing.
So with the joomla mailing and Uddeim it works, with CB mailing it does not work.
When i test with localhost Xamp and cmandril, all the mails work fine with SMTP including the CB mailing.
I note the difference between : i have no MX on localhost and i have put MX on my webhosting like required by cmandril.
I note an other difference :
the PublicMail plugin i use to contact an administrator (on other email box) works fine in the two cases.
PublicMail use $mail =& JFactory::getMailer(); (the joomla mailer i think)
the CB emailing seems to use /administrator/component/com_profiler/library/phpmailer/phpmailer.phpmailer.php and in this file i can see a DKIM DNS Resource Record variable. this variable is also used in the joomla php file from the /library/phpmailer/.
maybe in a different way and maybe it's the problem (i'am not sure, i am a beginner)
What do you think about this ?
Can you give me some php test lines to found the error or where can i put some "echo" to follow the function and find the error ?
Best Regards,
Bruno
Attachments:
Last edit: 10 years 7 months ago by bruno_c.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 7 months ago - 10 years 7 months ago #242226 by krileon
Replied by krileon on topic SMTP mails don't works with CB
Joomla plugins for mailings won't do anything for CB. So if CMandril is required then it's not going to do anything for CB. CB uses its own phpmailer library so changes to Joomlas library will do nothing in CB. CBs mailing function can be found in the following.

IN: administrator/components/com_comprofiler/comprofiler.class.php
FUNCTION: comprofilerCreateMail

What emails specifically are not working in CB? Registration emails? Have you tried using the Mass Mailer within CB > User Management to test sending an email to your self?

Please be sure the registration from address and from name are valid within CB > Configuration > Registration.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 10 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • bruno_c
  • bruno_c
  • OFFLINE
  • Posts: 24
  • Thanks: 2
  • Karma: 0
10 years 7 months ago - 10 years 7 months ago #242296 by bruno_c
Replied by bruno_c on topic SMTP mails don't works with CB
Hello,
Sorry, the registration emails are not sent by the site, and there are correctly sent on localhost with Xampp (with the same e-mail adress). I have the same problem with the mass mailer within CB (my first screen shot in my post).
I continue to investigate for this problem, if you have some particular test than i can do...
when i insert an echo in the function & comprofilerCreateMail
line 63 : if ( $_CB_framework->getCfg( 'mailer' ) == 'smtp' ) {
line 70 : echo $_CB_framework->getCfg( 'smtpuser' );
i have an error : Invalid JSON: octrier-admin{"result":2,"htmlcontent":"<h3>Impossible d'envoyer 1 courriels d....with my smtpuser
if i change 'smtpuser' by 'smtpport' i have an error wihtout message.


Best regards
Bruno
Last edit: 10 years 7 months ago by bruno_c.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 7 months ago #242318 by krileon
Replied by krileon on topic SMTP mails don't works with CB
So SMTP works fine in your XAMPP install, but not on your live site? Is there any particular reason SMTP is being used? If you're using the mail server provided by your host then they should already have everything setup to route through PHP Mailer.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum