Print Page | Close Window

Post to website via email

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=16289
Printed Date: 29 March 2026 at 8:34pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Post to website via email
Posted By: dfrancis
Subject: Post to website via email
Date Posted: 22 August 2005 at 10:48am
Hello my developer friends,
 
I would like to know if any of you have experience with posting to your website via email.
 
Here's the hosting environment
 
1) All classic ASP
2) Hosted on shared server
3) All popular components are installed (jmail,aspmail etc)
4) Write access to folders
5) Cannot install dll or com
6) Might be able to fire a CRON from a Unix server if necessary
 
What I would like to do...
 
1) Simple add html/txt by authorized users
2) Email to ASP Page for further processing (Database insert, text validation and security)
 
The basic concept is that of blogger and others who allow users to post to their blogs via email however I would like an open source solution to modify to fit my needs. Ultimately, I would like to enable my customers to post news and information via email that is sent to a private/secret account.
 
Any ideas?



Replies:
Posted By: dj air
Date Posted: 22 August 2005 at 11:38am
you need a pop3 component, what version of jmail is it

also you can do it , you yse the pop3 to bring the veribles into the asp page and store it.




Posted By: dpyers
Date Posted: 22 August 2005 at 12:37pm
Try JMailBox.
IIRC, it's at jmailbox.org

It's essentially an asp webmail app using jmail. I use it at VT.

The latest version has the ability to write email to disk. Shouldn't be to hard to mod to do what you want.


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

Lead me not into temptation... I know the short cut, follow me.


Posted By: theSCIENTIST
Date Posted: 26 August 2005 at 7:51am
Can't help, as I never done this, just thought of sharing my thoughts with you guys.

First, one would assume you must have a pop3 server as dj air said, to receive your mail, then this pop3 server must be able to do 2 things, store messages coming to a particular mailbox in your wwwroot, since most mail servers store this outside, then it must be able to call a script or batch (could be your asp processing page) when a message is received, so your asp script can read and process the message, updating the database with it.

This raises 2 more questions, this mail, must be of a particular type, for your script to be able to digest it's contents, and this type will not be consistent, as people might mail from hotmail, yahoo and wherever else, don't know how you are going to solve this, secondly, there's the good old security issue, how are you going to identify who's sending the mail? You could ask people to write on top their username/password, but this is not good, all this data will be wondering around the Internet in clear text view, and emails are the most intercepted traffic, my view here is this (and I actually like the idea) if people have access to their mail client, why can't they open a web page and post the normal way?

-------------
:: http://www.mylittlehost.com/ - www.mylittlehost.com


Posted By: dpyers
Date Posted: 26 August 2005 at 12:48pm
I've done this using JmailBox in the past. Just used a particular mailbox (post@example.com) set up to only accept incoming from whitelisted users. Anything in the subject was postable.

As an alternative, you could also have a secure page for your authorized folk to add mail addresses and check headers in JmailBox to only deal with addresses on the list.




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

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net