Not sending confirmation emails to new users

Not sending confirmation emails to new users

by Jeff Kubiak -
Number of replies: 13
I am having problems with Moodle not sending emails to users when they create a new account or any time for that matter. I did however get a email in my admin account that says this:

----- The following addresses had permanent fatal errors -----
<#####@yahoo.com>
(reason: 553 sorry, your mail was administratively denied. (#5.7.1))

----- Transcript of session follows -----
... while talking to relay-hosting.secureserver.net
:
>>> MAIL From:<#####@gmail.com> SIZE=2470
<<< 553 sorry, your mail was administratively denied. (#5.7.1)
501 5.6.0 Data format error

Final-Recipient: RFC822; #####@yahoo.com
Action: failed
Status: 5.1.3
Diagnostic-Code: SMTP; 553 sorry, your mail was administratively denied. (#5.7.1)
Last-Attempt-Date: Mon, 13 Oct 2008 18:31:04 -0700


---------- Forwarded message ----------
From: "Admin User" <noreply@tulsaschoolofrealestate.com>
To: #####@yahoo.com
Date: Mon, 13 Oct 2008 18:31:04 -0700
Subject: Tulsa School Of Real Estate: account confirmation
Hi Joe Bob,

A new account has been requested at 'Tulsa School Of Real Estate'
using your email address.

To confirm your new account, please go to this web address:

http://tulsaschoolofrealestate.com/moodle/_ControlPanel/moodle/login/confirm.php?data=Hiq2pEu8zTqqnhJ/testuser123

In most mail programs, this should appear as a blue link
which you can just click on. If that doesn't work,
then cut and paste the address into the address
line at the top of your web browser window.

If you need help, please contact the site administrator,
Admin User (#####@gmail.com)

--------------------------------------------------------------------------------

If anyone knows what I need to do to get these email to start sending out i would appreciate the help.



Average of ratings: -
In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by Karoly Pocsarovszky -
i guess, your SMTP server config could be bad.
check at server > email

docs: http://docs.moodle.org/en/Email_settings
or in case you want to send your emails by gmail
http://docs.moodle.org/en/Email_setup_gmail



In reply to Karoly Pocsarovszky

Re: Not sending confirmation emails to new users

by Jeff Kubiak -
I read through both of those docs and set the SMTP settings according to the google settings for the 1.8.4 install and still no emails are going out like they are supposed to. All that happens is I get and email that the email that was supposed to be sent was administratively denied. Any other thoughts that might make this work?
In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by Luis de Vasconcelos -
Picture of Particularly helpful Moodlers

That sounds like an access problem on your server. Does your mail server allow e-mail relaying from your Moodle box?

Does that e-mail come from Moodle or from some other application (e.g. your firewall) ?

Also, check that your Moodle CRON job is running (http://yourmoodlesite/admin/cron.php).

In reply to Luis de Vasconcelos

Re: Not sending confirmation emails to new users

by Jeff Kubiak -
Hi thanks for your response my CRON job is running successfull I have attached a copy below:

Server Time: Wed, 19 Nov 2008 07:03:11 -0700


Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
done.
Processing module function journal_cron ...done.
Processing module function scorm_cron ...done.
Processing module function workshop_cron ...done.
Finished activity modules
Starting blocks
Processing cron function for search....Sorry, cannot cron global search as it requires PHP 5.0.0 or later (currently using version 4.3.11)
done.
Finished blocks
Updating languages cache
Removing expired enrolments ...0 to delete
none found
Running backups if required...
 Checking backup status...INACTIVE
Backup tasks finished.
Running auth crons if required...
Cron script completed correctly

I am not sure what I need to check to see if it is a access problem on my server? The admin email address is a google mail address but I have set it up per the walkthrough so it should work.

Execution took 4.357323 seconds

In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by Jeff Kubiak -
THis Moodle install is hosted on A godaddy server and I have read the other people are having this same issue but i can still not find a answer. Any help would be great.
In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by Ezra Wolfe -
SMTP 553 is a reply code for "relaying denied," which makes me think you don't have permission to access the SMTP server you are using.

Have you tried this using a different SMTP server, e.g., both Google and GoDaddy?
In reply to Ezra Wolfe

Re: Not sending confirmation emails to new users

by Jeff Kubiak -
Yes, I have tried setting the SMTP settings in moodle to be a godaddy address that is for the website and also a google address. I get the same denied email no matter what.
In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by Ezra Wolfe -
Not sure if this helps, but it appears GoDaddy requires you to turn on SMTP access and have it associated with a specific email account:

http://help.godaddy.com/article/3552
http://help.godaddy.com/article/1707

Have you tried setting up an SMTP relay through an email client such as Outlook to rule out GoDaddy SMTP as the problem?
In reply to Ezra Wolfe

Re: Not sending confirmation emails to new users

by Jeff Kubiak -
I have looked at both of those godaddy articles and I have 250 SMTP relays per day on every account. I have tried to setup this specific account through moodle as the admin email account and I still am getting this error in an email from MAILER-DAEMON@p3slhssl25.shr.phx3.secureserver.net.

<<< 553 sorry, your mail was administratively denied. (#5.7.1)
501 5.6.0 Data format error

Any other thoughts I am really needing the moodle system to send out emails for new users and all the other ones also.

Thanks



In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by Hellmuth Sole -
Hi Jeff, I'm having that same problem, but with the new version of Moodle on GoDaddy (1.9.4). However I do have another Moodle hosted on GoDaddy with a previous version (1.9.1) and I did manage to solve it for that one. What I did was on the smtp hostname, I typed in the word "localhost" (without the quotes). No username or password, and voilá, it was solved.

Now I'm trying to fix this issue for an install on 1.9.4, so I'll try the solutions some users gave you and who knows, we might just kill 2 birds with 1 stone.

Post back to let me know if my solution helped.
In reply to Hellmuth Sole

Re: Not sending confirmation emails to new users

by Jeff Kubiak -

Did you just put localhost in the SMTP hosts field of the Moodle admin under:

  • Administration
  • Server
  • Email
In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by senthil kumar -
Hi Jeff Kubiak

I got same problem.now it solved ..
Just I have Removed Option Support Email

Support emailsupportemail

make this filed as Empty


In reply to Jeff Kubiak

Re: Not sending confirmation emails to new users

by Seday Matzumiya -
Hi, i solved this issue using as smtp hostname "localhost"!

pd. Also  using GoDaddy