1
gruessle
eMail to News Module?
  • 2004/10/22 5:12

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Is there a module which will receive eMail and display the content in xoops?

2
gravies
Re: eMail to News Module?
  • 2004/11/2 19:37

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


This would be fantastic. I would like to do this so that I can send email from a cellphone and have the message appear in a news item. I was thinking of hacking it by passing messages with a certain address to a perl / php script. This could then post the message to submit.php. Unless you could login with the script the post would have to be authorized. Then you get problems with spam to that email account. Maybe you could have a password or keyword in the body that could be used to filter spam.

Another option I thought of would be to just cat the email into a file and include the file it in a php block. Again - horrible hack but it would would be easy to do.

I think newbb2 has plans for imap / pop access. I haven't seen it in 2.0 RC2 though.

3
bitblaster
Re: eMail to News Module?
  • 2004/11/2 22:03

  • bitblaster

  • Just popping in

  • Posts: 7

  • Since: 2004/11/2


There is a bloggin tool that allows you to do so, it is under blogging I believe.. it is the new cafelog I believe it is worldblog or something like that... if you use that to manage news, you just might be able to submit news from your phone... the only bad thing is if someone finds out the email address, to put it nicely... you are screwed... I used a blogging tool before that supported email to blog, someone got ahold of the email address - submited crap to the blog.

4
brash
Re:eMail to News Module?
  • 2004/11/2 22:58

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


I think this is a sensational idea, exactly what a mobile web author needs! As bitblaster points out though, there would need to be some pretty decent security functionality to come along with it so that your site can't get hijacked. Perhaps something like a pin code, or password in the subject line of the message, or a function where items are only accepted from user definable e-mail addresses?

5
nickpope
Re:eMail to News Module?
  • 2004/11/3 0:48

  • nickpope

  • Just popping in

  • Posts: 20

  • Since: 2004/10/15


Quote:
Perhaps something like a pin code, or password in the subject line of the message, or a function where items are only accepted from user definable e-mail addresses?


WordPress has these features

6
brash
Re:eMail to News Module?
  • 2004/11/3 3:53

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


This is sounding REAL good ! Going to have to check this out I think!

7
gravies
Re:eMail to News Module?
  • 2004/11/3 3:56

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


You are right and I just got it to work... Here is a quick howto:

Install wordpress 0.32
Go to Admin-Wordpress-Wordpress Option-Blog-by-Email settings
Setup your pop server, username and password (imap not supported yet)
Read the readme (modules/wordpress/wp-readme/lang_en.html)
Send an email in the following form:
Quote:

To: address@example.com (you set it in the config file)
Subject: blog:the post's title (you can change 'blog:' in the config file)
Body:
login:password (example: Jack:Starwars)
The content of the post, blah blah blah.
More blah blah. ___


Get your server to check /modules/wordpress/wp-mail.php
Either do this manually or setup a cron job.

If you don't want to switch to using wordpress instead of news you can use the Recent Posts block to display your emails/SMS messages.

To send from your cellphone check if your service provider allows you to send email directly. If not then you can use sms2email services like this one:http://www.sms2email.com (UK number).

The blog: tag is customizable and you also need a username and password so spam should be minimal.

It would be nice if the next version of the news module could do this.

8
gruessle
Re:eMail to News Module?
  • 2004/11/9 12:19

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Thank you guys,
I will give this a try

Login

Who's Online

216 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits