News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Email Posting Mod?

Started by quisp, June 17, 2010, 04:42:06 PM

Previous topic - Next topic

quisp

<confusing words removed, see my reply two posts down!>

THANK YOU!

TheListener

To have an email address in a topic which anyone can see is a pure invite for spam email.

Many forum admins including myself do not allow email addresses in posts for this reason.

quisp

#2
Oops! not what I meant to ask  :o  I am so sorry!

I'll try again.  Spoken more clearly I hope:

We do NOT want to put an email address into a post.

We want to have a way to send an email/report from
one of our batch processing machines to "something"
(maybe an smf module), and then have that module
create a new topic on a pre-chosen board automatically.

Examples:

- An email notification arrives that one of our spacecrafts has a system problem.
- One of our batch jobs flounders and sends out an email.
- A major earthquake occurs in one of our areas of concern and we get a USGS email.

What these have in common is they are automated notifications sent via email.
Some originate from us, some from outside.

We would like to have something akin to procmail (which we use now) that racks
up these very important emails as new topics into three separate (or as specified)
boards.  Then we can use the membership, permissions, etc. of smf to control the
re-distribution of the postings via smf's notification system to the correct individuals,
and have the history of them all under an appropriate board, each topic ready for
discussion, additional data to be added, closure, etc.

This would bring smf into much more usage here as a real tool of our work, and it
seems this ability would be useful to many others.   Thanks-in-advance again,
really appreciate smf!!

Quake

(Oh, this could also take the form of a command-line tool that allows us to call a unix
command from procmail that takes arguments and auto-creates a posting.  To do this
we could create a special user for security purposes that only acts upon our inputs).

NanoSector

Admin > Features and Options > Profile Fields
Uncheck "MSN".

It will be disabled, and it becomes inactive.

Enable it again on the same way.

This answers
QuoteWe do NOT want to put an email address into a post.
I hope.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

quisp

Thanks for the inputs, Yoshi2889.  Let me see if I understand you. 

There is no mod or basic functionality within SMF that allows us to collect our batch-generated reports into a board automatically?  Forget the EMail part, can I use a bash/Perl script to add a post to a board or topic?  Where do I find docs about this?  Thanks

I searched pretty hard for your suggestion:

QuoteAdmin > Features and Options > Profile Fields
Uncheck "MSN".

and could not find trace of this anywhere in 2.0RC3.  Clutz me.

NanoSector

Quote from: quisp on July 12, 2010, 06:29:33 PM
Thanks for the inputs, Yoshi2889.  Let me see if I understand you. 

There is no mod or basic functionality within SMF that allows us to collect our batch-generated reports into a board automatically?  Forget the EMail part, can I use a bash/Perl script to add a post to a board or topic?  Where do I find docs about this?  Thanks

I searched pretty hard for your suggestion:

QuoteAdmin > Features and Options > Profile Fields
Uncheck "MSN".

and could not find trace of this anywhere in 2.0RC3.  Clutz me.
Oh my, I forget to say that you need "Custom Profile Fields" enabled.
Admin > Core features > Custom Profile Fields

Sorry, my fault ;)
After this, just uncheck what I said.
If there was any Email option do also uncheck it, but I'm not really sure if there is one.

Good luck ;)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Advertisement: