Messaging: Quickmail block updated

Messaging: Quickmail block updated

Michael Penney-mit -
Antal besvarelser: 41
Now includes atttachments and email history, & fixes a formatting problem in plain text.

This block lets you send an email to a group of students, all students or a select few, with or without an attachment, and it stores a history of sent messages, which can be resent.

Install it in your course as a teacher only block, or you can just make a link to the block from your admin menu.

It's in CVS/contrib.

Gennemsnitsbedømmelse: -
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Darren Smith-mit -
I think I have spent too much time on usenet as I hate to bring things like this up but  shy .....

All I can see is a version from dec 10th. Is it me or should I be more patient?

A history for this block would be an outstanding addition to a very useful piece of code which has saved my bacon on more than one occasion big grin
I svar til Darren Smith

Re: Messaging: Quickmail block updated

Michael Penney-mit -
Hi Darren, see if you see the new README (it should say V2, eg REAMEV2).

Glad you like the block!
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Darren Smith-mit -
Thanks for taking the time to reply

Hi Darren, see if you see the new README (it should say V2, eg REAMEV2).

The problem must be my end somewhere as it wasn't there before (honest) but after the third attempt or so just now it seems to have picked it all up.  There are some files that remain from dec 10th (in the db folder) but some are marked as 2nd feb and 3rd feb which would make sense. I will upgrade this tomorrow at work.

Glad you like the block!

No problem. I am a big fan of all of your work approve

Thanks

Darren
I svar til Darren Smith

Re: Messaging: Quickmail block updated

John Papaioannou-mit -
I think there's currently a 5-hour cycle that synchronizes the anonymous CVS with that of people who have developer accounts. And looking at the times of your posts, it makes sense.
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Athena Winchester-mit -
Where is it?
I svar til Athena Winchester

Re: Messaging: Quickmail block updated

Michael Penney-mit -
In CVS/contrib/quickmail.

You'll have to use a CVS client to get there, instructions are in the Moodle docs, look for the part about getting to contrib.

It's worth doing, there is lots of good new code theresmiler.
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Sean S-mit -
In CVS/contrib/quickmail.

You'll have to use a CVS client to get there, instructions are in the Moodle docs, look for the part about getting to contrib.

I didn't really understand that... Isn't there a way to do this via the web? I have shell access, but it is rather confusing.
I svar til Sean S

Re: Messaging: Quickmail block updated

Sean S-mit -
I figured out how to get it using an url.

However when I installed it on my site nothing happened after visiting the admin page. The tables didn't get added and I cannot find the block when trying to add blocks or administer blocks on the blocks page.

Any idea why this happened? I installed 5 blocks today (one at a time) without a problem - only this one was trouble.
I svar til Sean S

Re: Messaging: Quickmail block updated

Kevin Clark-mit -
I had the same issue this morning. Shouldn't it be as simple as copying the email folder into the block folder as well as putting the language file in the correct lang folder? I'll be waiting for the answer with you...
I svar til Kevin Clark

Re: Messaging: Quickmail block updated

Jon Bolton-mit -
Testers-ip assinga
Mm, curious. Kevin is right, that's normally how installing a new block works.

I tried to install the quickmail block on another installation and got the same problem that you two encountered - ie. a blank screen and no apparant recognition of the new block.

I installed the quickmail block some time ago and can't remember having any problems with it. But... I've just checked my blocks directory. I have a blocks/quickmail directory but not a blocks/email directory.

I'm guessing Michael has updated the files. I'll email him and ask him to check the files, but in the meantime I have copied my quickmail directory to the attached zip file. I've just installed this exact block (as per the zip file) to another Moodle installation and it works as it supposed to.

A warning though - both of my installations are running 1.5.2. If you are not runnning this version, this block may not work. I can't remember when Michael updated it with the new blocks code.
I svar til Jon Bolton

Re: Messaging: Quickmail block updated

Kevin Clark-mit -
You are awesome, Jon.  That worked like a charm.  I don't know if any of the files were different, but they were named quickmail instead of email...would that make a difference?

Anyway, thanks much for your help!!
I svar til Jon Bolton

Re: Messaging: Quickmail block updated

Tim Allen-mit -
I just updated this block via CVS and all the database files were removed! surprise For some reason they have been taken out and it seems this is why the latest version is not working. I can't imagine that this was on purpose, because there is no block without it's database tables.

Maybe it is a mistake. I hope Michael has time to look at this for us. blinker

Tim. smiler
I svar til Sean S

Re: Messaging: Quickmail block updated

Michael Penney-mit -
Did you get block email (which is for 1.4) or block quickmail (which is for 1.5?).

It can be downloaded here http://cdc.humboldt.edu/moodle
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Kevin Clark-mit -
Yeah, I obviously had the wrong version.  I have the newer one installed now and things are working well.  Thanks, Michael.  And thanks for the other blocks as well, I'll be trying them out soon.
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Rafael Nieves-mit -
I am trying to use your block and  after installing and updating tables I get this message :

Notice : undefined variable course in  /home/www/.../blocks/email/block_email.php in line 19

Block Simple Information test failed.

Can anyone help me with this ?

Fallo

-
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Rafael Nieves-mit -
I am trying to use your block and  after installing and updating tables I get this message :

Notice : undefined variable course in  /home/www/.../blocks/email/block_email.php in line 19

Block Simple Information test failed.

Can anyone help me with this ?

Fallo

-
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Gavin Dudeney-mit -

Hi,

This is just what I was looking for. However, I really need it to be available to participants on a course too. Is there any way of modifying the block so this can happen?

Thanks in advance

Gavin

I svar til Gavin Dudeney

Re: Messaging: Quickmail block updated

Jon Bolton-mit -
Testers-ip assinga
Gavin, you will need to edit three files for this, all can be found in the blocks\quickmail  folder.

In all three files, you need to remove the lines:

if (!isteacher($course->id)) {
error("Only teachers can look at this page");
}

These lines can be found at line 18 in block_quickmail.php, line 19 in email.php, and line 19 in emaillog.php.

This should make both the block and the email function available to all. Word of warning though... if you install it on the front page, or in a course which allows access to guests, it will be available to non-logged in users and may therefore be open to abuse. It might be worth changing the code above to

if (!isguest($course->id)) {
error("Guests cannot use this facility");
}
I svar til Jon Bolton

Re: Messaging: Quickmail block updated

Gavin Dudeney-mit -

Jon,

Fantastic - thanks! I'd found one of the refs and got it working - but your secure version is exactly what I needed. Much appreciated

Gavin

I svar til Michael Penney

Re: Messaging: Quickmail block updated

Jeff Wood-mit -
Hi Michael,

Tnx for the block... very nice.

Silly question... Is it safe for a production site?

Jeff

I had no problems installing on test site.
I svar til Jeff Wood

Quickmail not in latest version?

Tom Walton-mit -
Hi...

I'm a newbie... Having been unable to find some convenient way to download just one block (as with the activities), I downloaded the latest stable version of ALL of Moodle (have I missed something, I wonder???!!!).

But Quickmail is not one of the blocks in the latest version. Can that be right???

Tom
I svar til Tom Walton

Re: Quickmail not in latest version?

Tom Walton-mit -
Further to that, I worked out that going to CVS, as in...
http://cvs.sourceforge.net/viewcvs.py/moodle/contrib/block_quickmail_1.5/blocks/quickmail/

... was where I picked it up from. Right?

And why should QuickMail seem to work ok in Firefox, but not in IE6...? (Don't answer IE is crap, I know it's crap, but there are still 80% of users who don't).

Specifically, I can't attach a file in IE6, as attempting to leads to a 404, Page cannot be found.

Tom
I svar til Tom Walton

Re: Quickmail not in latest version?

Gavin Dudeney-mit -
Tom,

Quickmail isn't part of the 'official' Moodle releases - hence the need to go elsewhere to get it, and install it 'manually'.

I've just done another install with the latest Moodle release, added Quickmail and edited it so that students can use it as well as teachers. The block's working fine in Explorer, Opera and Firefox.

Do you always get the same error?

Gavin


I svar til Michael Penney

Re: Messaging: Quickmail block updated

Michael Curtin-mit -
How do I install the block once I've downloaded it?  Thanks.

MC
I svar til Michael Curtin

Re: Messaging: Quickmail block updated

Leffe Eriksson-mit -
Just transfer the "quickmail"-dir in the downloaded package to the moodleserver/blocks-dir
And lang-files goes to just moodleserver/lang-dir


I must thank the author, Michael Penney, for this superb block - It saves a hell of a time for my teachers !!!!
I svar til Leffe Eriksson

Re: Messaging: Quickmail block updated

Art Lader-mit -
Yes, I love this block. But when I try to install to 1.6, Beta 5, I get this message:
"Block quickmail tables could NOT be set up successfully!" trist

Any idea what it will take to make it work with this version og Moodle?

-- Art
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Max Wild-mit -
This works brilliantly until I press send when I get

"ERROR: Could not instantiate mail function."

What have i done wrong??

Thanks in advance
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Mike Green-mit -

We've been running moodle 1.5.4 with quickmail for 8 weeks and already my College is very dependent on it. It's still marked as version 1.5 on the HSU site and Our moodle 1.6 test installation won't run quickmail (or any of the other HSU addon blocks).

Are Michael and Mark still maintaining and developing this block? I'd hate for it to die away - It's so good, I  really wish it was part of the moodle core functions. My tech support reckon they can get it running on 1.6 without too much trouble but it seems a shame for everyone to be re-inventing the wheel.

So has anyone got any info on the future of quickmail?

I svar til Mike Green

Re: Messaging: Quickmail block updated

Michael C-mit -

It worked for me in 1.6 and only having minor problems with the roles function in 1.7.  It seems to only send to teachers.  Had it sending to everyone, but now it's not.

Michael

I svar til Michael Penney

Re: Messaging: Quickmail block updated

Keyser Söze-mit -
Great work.  I was hoping to tweak it a little though.  I was hoping that someone with more knowledge than myself could tell me how to enable instructors/teachers with the ability to upload an attachment from outside of the course directory.  I was able to edit the email.html file and the instructor was able to select an attachment from say their local machine.  However, when they submitted the email (which submits successfully) the attachment is nowhere to be found.  I'm not real savvy with PHP and am wondering if there is something that I need to edit within email.php.
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Keyser Söze-mit -
Great work.  I was hoping to tweak it a little though.  I was hoping that someone with more knowledge than myself could tell me how to enable instructors/teachers with the ability to upload an attachment from outside of the course directory.  I was able to edit the email.html file and the instructor was able to select an attachment from say their local machine.  However, when they submitted the email (which submits successfully) the attachment is nowhere to be found.  I'm not real savvy with PHP and am wondering if there is something that I need to edit within email.php.
I svar til Michael Penney

Re: Messaging: Quickmail block updated

Keyser Söze-mit -
Great work.  I was hoping to tweak it a little though.  I was hoping that someone with more knowledge than myself could tell me how to enable instructors/teachers with the ability to upload an attachment from outside of the course directory.  I was able to edit the email.html file and the instructor was able to select an attachment from say their local machine.  However, when they submitted the email (which submits successfully) the attachment is nowhere to be found.  I'm not real savvy with PHP and am wondering if there is something that I need to edit within email.php.
I svar til Keyser Söze

Re: Messaging: Quickmail block updated

Wen Hao Chuang-mit -
By the way, there is a slightly modified version of Quickmail block which is being used here at SFSU right now. The Graphical User Interface (GUI) is better designed for larger classes (instead of using check boxes, we use side-by-side selection lists). The block could be downloaded from http://moodle.org/mod/data/view.php?d=13&rid=764

I have also attached the codes here...
I
I svar til Wen Hao Chuang

Re: Messaging: Quickmail block updated

Damon Blanchette-mit -
I'm also looking for a way, like the Keyser above, to let professors send email attachments without needing to upload it to the course file space. Any chance it's in the pipeline?
Thanks,
Damon
I svar til Wen Hao Chuang

회신: Re: Quickmail block updated

Jong-Dae Park-mit -
Translators-ip assinga

Hi!

Thanks for your efforts for the quickmail block!

Previously, I could send emails to participants to a course using quickmail. 

Recently,  I installed few modules and upgrade moodle to version 1.9 beta 4.  I found that there are all users from every courses in potential recipients when I want to send emails. I do not know what happened to our moodle server.

I wonder how I can restrict potential users to the participants of only one course. 

Thanks in advance.

Jong-Dae Park

I svar til Jong-Dae Park

회신: Re: Quickmail block updated

Jong-Dae Park-mit -
Translators-ip assinga

I fixed the problem.

The problem occurred due to wrong assignment of default user role. The quickmail gets the email recipients by capability for the course (course:view). I reset login user role to default and quickmail is working perfect.

Thanks.

Jong-Dae Park 

I svar til Jong-Dae Park

Quickmail block updated for moodle 1.9.4

Patrick Pollet-mit -
Hello,

I succeeded to run quickmail block on a Moodle 1.9.4 despite several deprecation warnings concerning usage of print_header

Yo will find at this URL (since I cannot attach here files bigger that 50Kb) a patched version that addresses the following :

  • no more deprecation warnings about bad usage of print_header
  • deletion of mail in history DO request confirmation ( in current CVS version, deletion of ALL user's mail was done without any warning !)
  • updated french translation ( compatible with fr and fr_utf8 variants) since it uses only HTML tags for accentuated characters.
Cheers