Skip to main content
lovewebdev
Inspiring
April 10, 2009
Question

Have emails sent directly to a web page for database logging?

  • April 10, 2009
  • 3 replies
  • 537 views

I would like to have an email that is sent to an email address, actually be processed by a coldfuson page and inserted into my database. What's the technique behind that. Kind of like when people send videos to youtube from a cell phone. I want emails sent to me to be processed by a web page and stored in my own database. Thanks

This topic has been closed for replies.

3 replies

BKBK
Community Expert
Community Expert
April 11, 2009

Oh, and you could use cfschedule to run the page as a scheduled task.

BKBK
Community Expert
Community Expert
April 11, 2009

Use the cfpop tag to retrieve yor e-mail messages. For example,

<cfpop

server = "mail.myMailDomain.com"

action="getAll"

name="myMessages"

username = "bkbk"

password = "bkbk001">

<cfdump var="#myMessages#">

<!--- insert code to save the messages to the database --->

Inspiring
April 11, 2009

]]> is your friend.

Azadi Saryev

Sabai-dee.com

http://www.sabai-dee.com/