Notify-Talk

Hi, I have been trying to get this working but have been unsucceful. I have done the following Created a SiteAdmin.NotifyList page with the content

 notify=myemail@organisation.com
In the local/config.php file I have added these
$EnableNotify = 1; # enable notify
$NotifyFrom = 'myemail@organisation.com';
$NotifyDelay = 60;
# include the change summary and link to the page's history in the message
$NotifyItemFmt =
" * {\$FullName} . . . \$PostTime by {\$Author}
\n Summary: {\$LastModifiedSummary}\n {\$PageUrl}?action=diff";
$NotifyBodyFmt = "Changed items:\n\n" . '$NotifyItems' . "\n\n Best regards...";
$NotifySubjectFmt = "Page Modified";
$NotifyList[] = 'myemail@organisation.com';
ini_set('SMTP','organisation_smtp_server_name @ organisation.com');
ini_set('sendmail_from','kannan.chidambaramseetharaman@utas.utc.com');
include_once("$FarmD/scripts/notify.php");

What am I missing here

-Kannan 15th Jan, 2020

First ask your systems administrator, or review the documentation at your hosting provider, if the server is configured correctly to send e-mail (the mail() function in PHP). Then try with only $EnableNotify = 1; and what you have in the page SiteAdmin.NotifyList. Messages are sent not on the first edit, but sometimes later, when a page is requested for reading -- keep browsing/reading your wiki. Check if the (hidden) file wiki.d/.notifylist gets updated (increases) after you edit and then gets emptied (happens when PmWiki sends the mails). After a while check your mailbox, including the Spam folders. If you must send the mail via the SMTP server of your company you can try Cookbook:SMTPMail (the `curl` utility needs to be installed on the server and to have internet access -- I use it for GMail). Enable the ini_set lines only if your administrator has approved those. After you get the feature to work, then you can try modifying the subject, body. A custom From: header which may cause the mail to be rejected or caught by the spam filters (for this to work you may need to edit the SPF fields in the domain's DNS zone). --Petko January 15, 2020, at 07:47 PM

Thank you will surely try it


How to check why notify does not send a mail?

~PKHG 30 oct 2014


Is there a simple way for users to sign up for email notifications without having to place the Administrator in the loop?

I know you can have the Admin point SiteAdmin.NotifyList to a wikitrail for each user, but that still requires an Admin to set up each individual user...

Thanks,

JC


Hi i been using PMWIKI for a while but no matter what im not able to find or at least create a SiteAdmin.NotifyList page, could anybody provide more clear instructions regarding how to use this feature? i really need to have it up and running.

thank you.

Dave

P.S. and if the site admins delete this post you can reply to my personal email darkstarxsi@aim.com, thanks again.


This page doesn't exist in a new installation - and you need an Administrator password to create it. See PasswordsAdmin about how to set an administrator password -- then you can link to [[SiteAdmin.NotifyList]] and create the page on your wiki. --Petko February 02, 2010, at 06:44 PM


Thank you from me too, I have the same problem.

But I do not understand: WHERE should one create a link to [[SiteAdmin.NotifyList]]? In pmwiki.php ?

Vincenzo


From any page, like your WikiSandbox -- just create a link, then click on it to edit the NotifyList page. Or in the browser's address bar, go to yoursite.com/pmwiki.php?n=SiteAdmin.NotifyList then edit the empty page. --Petko February 04, 2010, at 03:01 AM


Hey Petko thanks for your prompt answer , i have one more question, what about if i would like to use my exchange server to send emails instead of a regular mail server with smtp? another question is how does this Notify script access the server when sending emails? in my case we are Using Exchange 6.0

thanks again


I don't know about Exchange -- PmWiki is using the standard PHP mail() function to send notifications -- and it is normally configured by your hosting provider. If you install and run the server, you need to read the documentation and configure it. --Petko February 09, 2010, at 01:04 PM


I made it work with exchange but it does not send messages the way i have the script set up (first change delay 5 minutes, 24 hours for second notification) it does take a long time to send the email but it does work i tried (SMTP),(your server IP), it might have something to do with exchange i guess. thought you guys might be interested.

Dave


Is it possible to make the Notify function show the changed/edited content inside the email? and not that you have to click on the link for "Recent Changes" ? Thank you very much

Ventrox


Another thing. I can get the notify to work when i notify an email from my own domain (f.e. I send it from xx@yy.com to zz@yy.com), but if I set the sent from my domain and try to send the notification to Gmail, the email never comes.

Any clue why?

Ventrox

This is a talk page for improving PmWiki.Notify.