Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: EmailNotify2  (Read 984 times)
0 Members and 1 Guest are viewing this topic.
GoleyC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: January 08, 2003, 03:12:00 PM »

For everyone,

Just to let you know that the (beta) release of EmailNotify2 is available. FYI: Don't download this unless you can handle a few random bugs cropping up here and there.

EmailNotify2 is located at: http://bama.ua.edu/~whitt013

Logged
GoleyC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #1 on: January 08, 2003, 03:13:00 PM »

Forgot to mention, this is TubaDaves script!!!!

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

Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #2 on: January 09, 2003, 06:19:00 PM »

Anyone had a chance to do any testing yet?  As far as I can tell, it's pretty robust, but you guys always find little things for me to fix  

------------------
David Whittaker
----------------------------
http://www.uabcm.com
----------------------------
http://bama.ua.edu/~whitt013

Logged

GoleyC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #3 on: January 09, 2003, 08:55:00 PM »

So far, implementing this wasn't too bad.  However, we have found that anonymous users cannot make seperate preference for each unless they have a username setup for them.

Even though we have it setup to send html, it shows up in our inbox as a text based html coded page.

On a seperate note, don't know if anybody would be willing to tackle this, but we use phpbb forums http://www.phpbb.com/  and would like to integrate the usernames, passwords and email address for usernames within the calendar script.

We've seen coding already on how to do this, but we do not have the time nor the man power to do a plugin for the calendar script.

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

Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #4 on: January 09, 2003, 09:40:00 PM »

As far as the anonymous user having the ability to set up their own email options, I strongly suggest that you don't allow them that permission.  Without them being a user of the calendar, it's kind of difficult to give them their own "real estate" on the control panel and other interface issues.  I released an AutoRegister plugin a while back that lets users register themselves.  It's on Dan O's page, http://www.much2.com/calendarscript  .  That's probably the best solution to your Anonymous User problems.

As far as the html emails go, what mail client are you using?  Is it capable of reading mail in html?  It looks fine to me in Outlook, but I haven't looked in many other browsers.

The phpbb thing shouldn't be too hard to work out.  There's not that much code required to authenticate a user.  (I've already done a relatively simple plugin that authenticates a user through htaccess).  I'd just have to get access to a php capable web server, and that costs money.  Something I have absolutely none of for the next 2 weeks.  If I get brave enough to try to install php on my home machine (is there a windows version?), then I'll give it a look.  Otherwise, remind me again in a few weeks (When I change all my links back to csworkbench.com).

------------------
David Whittaker
http://www.uabcm.com
http://bama.ua.edu/~whitt013

Logged

slh
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: January 13, 2003, 08:25:00 AM »

question, how do I go about troubleshooting events that are added/deleted/edited, and to see if the doemail flag is set?  I believe I have everything setup right, but I am not getting emails when I add/delete events, so was going to look into it. I have a feeling its my smtp server..but what to check the calendar script first.

thanks

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

Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #6 on: January 13, 2003, 05:37:00 PM »

The best way to debug the plugin is to make sure the "Display messages when emails are sent" checkbox is checked, them under scheduling method, choose the right radio button that will make the calendar check for and send emails while the page is loading.  Then put something low in the time like 0.1 to make it do this check every time you load a page.  You should then see "Checking if emails need to be sent" at the top of the page (almost) every time you load an admin page, and you should see "Sending administrative/notify/digest emails" when that event occurs.  If you see both of those messages when you are supposed to, there is either something wrong with your scheduling method or your smtp server.

One common error: You must change the $from variable at the top of every template in the templates/default folder.  If you don't, your smtp server will look at that fake address, see that it doesn't resolve, think you are a cracker/spammer, and return an error without sending the message at all.

Let me know if that helps.

------------------
David Whittaker
http://www.uabcm.com
http://bama.ua.edu/~whitt013

Logged

JasonR
Guest
« Reply #7 on: January 20, 2003, 06:18:00 PM »

Dave,

I've configured everything as per the instructions and I'm getting this error message:

error running custom function 'before_commands'. The error is: [Can't locate Net/SMTP.pm in @INC (@INC contains: /Library/WebServer/CGI-Executables/calendarscript/plugins/EmailNotify2/ /Library/WebServer/CGI-Executables/calendarscript/plugins/EmailNotify2/ /Library/WebServer/CGI-Executables/calendarscript/plugins /Library/WebServer/CGI-Executables/calendarscript/lib /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at /Library/WebServer/CGI-Executables/calendarscript/plugins/EmailNotify2//Email.pm line 108. BEGIN failed--compilation aborted at /Library/WebServer/CGI-Executables/calendarscript/plugins/EmailNotify2//Email.pm line 108. Compilation failed in require at /Library/WebServer/CGI-Executables/calendarscript/plugins/EmailNotify2//EmailUtil.inc line 73. ]
Configuration Saved
                 

Does this mean anything to you? I would appreciate any help.

Jason

Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #8 on: January 27, 2003, 10:04:00 PM »

Hey.  Please forgive me for taking so long to reply.  Between work and trying to get Linux installed on my home computer, I haven't had any free time.

This error means that the Perl module, Net::SMTP, is not installed.  Your system administrator will have to install it in order to get the plugin working with SMTP.  Optionally, you can use sendmail.  The default command line may or may not work on your system though.  This option can be chosen under the Administrative setup page.

------------------
David Whittaker
http://www.uabcm.com
http://bama.ua.edu/~whitt013

Logged

janedsh
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #9 on: August 20, 2003, 01:26:00 PM »

After installing EmailNotify2 on my calendar at http://www.waynet.org/calendar,  I get this error:

Error running custom function 'before_commands'. The error is: [Undefined subroutine &main::getRecurrenceTimes called at /home/waynet/www/cgi-bin/calendarscript/plugins/EmailNotify2//EmailUtil.inc line 324, line 647. ]

Any ideas how I fix this?

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

Logged
Age
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #10 on: December 02, 2003, 03:57:00 PM »

janedsh,

I have the same message after installing EmailNotify2.
Did you figure it out?

Regards,
Age

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #11 on: December 02, 2003, 05:15:00 PM »

** Undefined subroutine &main::getRecurrenceTimes called at /home/waynet/www/cgi-bin/calendarscript/plugins/EmailNotify2//EmailUtil.inc line 324 **

* I have the same message after installing EmailNotify2 *

You can try changing line 324 in the EmailUtil.inc file from:

my($occurrences) = &getRecurrenceTimes($schedule);

to

my($occurrences) = &Event::getRecurrenceTimes($schedule);

To see if that solves the problem.

 This is untested so use at your own risk. And always make a backup of original files before making changes.

Dan O.

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

Logged
Pages: [1]   Go Up
Print
Jump to: