Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

JS4 Invite by Email not working

9 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

I think your server activity quite huge.. so your email server can't handle it..try to set run every 15 / 30 minutes... or you contact your sys-admin for another solution

9 years 10 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

I am not so certain that the email server is having trouble. I just sent an email from the server directly to my email (outside of JS) and it works fine. See attachment.

All notification emails work fine out of JS it is just the invite by email function within groups that are not. Can you test the code again and see if it works for you?

All changes that were suggested have been implemented. I am using PHP mail as the option in my server configuration.

Attachments:
9 years 10 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

I just got this to work. The invite email works ONLY if the 'Message' field is left blank. If anything is typed as a message in that box, JS will block the email from being sent. I just replicated this several times.

Please supply the code fix when possible.

9 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

HI Jared,

Well, this is random issue, this is the compability code with your email server and core Joomla email API code.. since we are using Joomla email API as well.

technically, why the emails got blocked, because the system send much emails in one actions cron jobs. So thats why I suggested you to decrease the emailpercron setting.. so which the email failed to sent, Jomsocial will set it blocked. we get feedback sent / not sent from Joomla email API code.

Another solution, please you also post this to Joomla forum.

thank you

9 years 10 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Hi Dimas,

I've found that it isn't an email server/queue issue after all. Please read my last post:

I just got this to work. The invite email works ONLY if the 'Message' field is left empty. If anything is typed as a message in that box, JS will block the email from being sent. I just replicated this several times.

Please supply the code fix when possible.

9 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

is there any group / event for testing it on your site? so it won't detected as spam by your members

9 years 10 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Here is your code -

if (!empty($values['emails'])) {

Feel free to test the 'Invite Friends' from any group. This should also not work in your own test environment as well. Any emails sent will not spam group members because you are only using email addresses that you type.

If personal message is added to invite - Result = Blocked
If personal message of invite is left empty - Result = Successfully sent

See screenshot

Attachments:
9 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

hi Jared,

I test it, here is the videos :
#1 invitation with message
screencast.com/t/uTX1kRQ5R9u0

#2 invitation with message empty
screencast.com/t/lKuYP1dQ

and the result is fine, all emails successfully to sent.

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW