Email configuration between Moodle 2.9 and GoDaddy Linux hosting

Email configuration between Moodle 2.9 and GoDaddy Linux hosting

by Verena Getahun -
Number of replies: 7

Hello!

I recently purchased GoDaddy Linux hosting with cPanel and used the one-click install to set up Moodle 2.9 on the site: www.edukitchen.in

We've been importing and creating courses and creating user accounts with no problem, but I've realized that aside from confirmation emails when users create accounts, no emails seem to be going out, e.g., forum notifications, course request approvals, etc. 

I've read the Moodle Docs documentation about email settings, and I've read GoDaddy's directions for configuring a mail client, and I've set up our GoDaddy email (admin@edukitchen.in) on Roundcube, but honestly I don't know what my mail client is or what I'm attempting to hook up with what! smile The only clue I have that there is some connection between Moodle and GoDaddy when it comes to email is that when we send confirmation emails, they say they are being sent "via edukitchen.in". Here's what our email settings in Moodle look like (I blacked out the host name, but I'm using the hostname supplied by GoDaddy for SSL connection:



I found a thread about checking to see if Moodle email was configured properly, and that suggested posting a News forum, clicking Mail Now, and then running cron and looking for errors. When I do that, I see this in the cron:



I don't know what to make of the inbound message line, but it seems to say that the email was sent. But it's not being received by subscribers.

I would appreciate any hints about where to turn next! Please let me know if I need to supply further information. Thanks!

Verena

Average of ratings: -
In reply to Verena Getahun

Re: Email configuration between Moodle 2.9 and GoDaddy Linux hosting

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

You need to configure CRON in cPanel.  

The CRON job should look something like this:

/usr/bin/wget -O - -q "http://yourdomainname.info/moodle28/admin/cron.php" > /dev/null 2>&1

I run this every hour, but this is up to you.

See if you can figure this out on your own.  If not, return here with questions.

In reply to Rick Jerz

Re: Email configuration between Moodle 2.9 and GoDaddy Linux hosting

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Well, I see that you did run cron.php manually, sorry about that.

Here is what I know.  I installed an experimental copy of Moodle on my own Godaddy hosted server, set up cron, and emails work.  And I didn't go into any of the email configuration settings like you.  So I am puzzled right now.

Below are my settings (you can see that I have not done anything.)

Oops, I just had a thought.  You installed Moodle with the one-click install, whereas I installed my Moodle from scratch.  Sometimes, these one-click installs do things in their own way.  This might be asking a lot, but do you know how to install moodle from scratch?

Attachment settings.jpg
In reply to Verena Getahun

Re: Email configuration between Moodle 2.9 and GoDaddy Linux hosting

by Usman Asar -

Verena, this has nothing to do with your query, as Rick has already assisted you in that, but, you shouldn't have installed moodle from the script.

I don't know weather it has to do with script installation or your theme, but I have seen slow moodle sites and your's has just broken the record, 52 (that's FIFTY TWO) seconds to load the main page??? and you dont even have image on main page.

May your visitors have patience in abundance!

In reply to Usman Asar

Re: Email configuration between Moodle 2.9 and GoDaddy Linux hosting

by Verena Getahun -
Yes, it does seem painfully slow, but we hadn't timed it, so thank you for that! I, too, doubt our visitors will have patience in abundance.


So I shouldn't have installed Moodle using the script. I don't know if *this* is asking too much, but how would I go about installing Moodle from scratch? Does that mean following these instructions? https://docs.moodle.org/29/en/Installing_Moodle

I am unsure what to do at the step called "Secure the Moodle files." Do I need to use the command line, or would I be able to achieve the same thing by going to the Permissions settings in the FTP client and removing write permissions from the folder that contains Moodle code files?

Sorry if these are ignorant questions. I realize I am in over my head!

Verena

p.s. I haven't changed anything from the email settings I shared earlier, and they do now seem to be sending.

In reply to Verena Getahun

Re: Email configuration between Moodle 2.9 and GoDaddy Linux hosting

by Usman Asar -

You dont have to read through documentation for learning how to install Moodle manually, just go through these videos and you'll be good to go. They are built using CPanel (Control Panel on Linux hosts), watch in sequence.

Video 1: http://www.screencast.com/t/7di1TIv9NH

2: http://www.screencast.com/t/isCbx6rnVd

3: http://www.screencast.com/t/QfsROwJCz

4: http://www.screencast.com/t/p59D8pnX8h

5: http://www.screencast.com/t/BKK0rRLd1

6: http://www.screencast.com/t/ZtdiUTSrItGX

and as well this video as someone asked to show how to create duplicates on Moodle instances.

http://www.screencast.com/t/aLYYluO8qs

In reply to Verena Getahun

Re: Email configuration between Moodle 2.9 and GoDaddy Linux hosting

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

It is easy to install moodle from scratch, once you have done it about a half-dozen times.  smile

Let's begin slowly (although you want it up and running, probably today.)

1) Check your environment.

Go into your current moodle and click on, site administration, Server, Environment.  Let us know if you get all "OKs".  If so, this is good, if not, we need to turn on what is missing.

I am going to wait for your response before I go into too much more detail.  This information will help all of us.

As you are getting prepared, answer these other questions:

2) Do you have a Mac or PC?  The answer will help us know how you will need to ssh into your server.

3) Have you ever run a terminal program, like "Terminal on the Mac" or "Putty on the PC?"

4) What is your skill at command prompts, such as DOS or Linux?  Installing Moodle from scratch is easiest with these tools.

Well, that's it for now.  Maybe the information that Usman gave you will negate the need for answers to my questions.