SMTP changes

SMTP changes

Jai cheswick -
回帖数:6
I have an error in my SMTP settings for Moodle.

Where do I go to change the settings ?

Thanks Jai
回复Jai cheswick

Re: SMTP changes

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Currently, config.php. Eventually there will be a web-based interface for most of the stuff in this file.
回复Martin Dougiamas

Re: SMTP changes

ed horwich -
Sorry Martin, is this the same in version 1.08 dev?
I'm lookig in all the config files I can but can't see anything.
On the other hand I can see it in the database.

I'm having a problem where confirmation emails are sent out for new enrolments, but emails are not sent out from subscribed Forums. Any ideas? Thanks and Happy New Year

ED
回复ed horwich

Re: SMTP changes

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Yes, surely. It's all on the "Configure Variables" page for admins.

Your problem sounds like cron isn't running. Try visiting admin/cron.php with a browser and see if all the backlog gets sent.
回复Martin Dougiamas

Re: SMTP changes

ed horwich -
Well this looks kosher...but still not getting any mail returned in reality.


Processing assignment submission 2
Processing assignment submission 3
Processing post 7 ... mailed to 3 users ...
Processing post 8 ... mailed to 2 users ...
Processing post 2 ... mailed to 3 users ...
Bearbeite Beitrag 3 ... mailed to 2 users ...
Processing post 11 ... mailed to 2 users ...
Processing post 12 ...
Processing post 13 ...
Processing post 14 ...
Processing journal entry 2
Cron script completed correctly
回复ed horwich

Re: SMTP changes

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
The email routine used for confirmation emails is exactly the same one used for all email - so I'd be surprised if they behaved differently. Do you have access to SMTP logs?

You still need to set up cron, though, see http://moodle.com/doc/?file=install.html#cron
回复Martin Dougiamas

Re: SMTP changes

ed horwich -
I didn't quite twig what Cron was, where, or how to.
Having since realised that I have to SSH into it, I've found that using the default VI editor is an absolute pain.

However having got to grips with it... seems on my server it required including "/usr/local/bin/wget" as part of the path.

A tip for other users like myself not very familiar with Crontab is to add this as the first line

MAILTO=you@domain.dom

(replacing with your own address of course) which will email any errors to you.

Martin, thanks for puting up with what in retrospect were daft questions.