Jump to content


Photo

Email to Database


  • Please log in to reply
4 replies to this topic

#1 Hardbyte

Hardbyte
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationMidlands, UK

Posted 09 May 2006 - 11:21 AM

Hi - just trying to look into stripping an email and entering it into a database? Just seem to be unable to find any info on this, results seem to be all about sending email from the database entries.

Thanks

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 09 May 2006 - 01:59 PM

What exactly are you trying to strip from the email address? Have you tried anything? Can you show us your code?

Info: PHP Manual


#3 Hardbyte

Hardbyte
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationMidlands, UK

Posted 17 May 2006 - 08:31 AM

Hi,

I havent tried anything as of yet - was trying to find a script but unable to.

I want to strip the email and insert the email address, subject and message body into a database.

Any ideas or pointers where to look would be appreciated,

Thanks

Hardbyte

#4 samshel

samshel
  • Members
  • PipPipPip
  • Advanced Member
  • 837 posts

Posted 17 May 2006 - 09:23 AM

as far as i understand you want to login in an email account and read emails and dump them into database using an automated script....is it ?

if it is....u can search for functions related to [a href=\"http://in2.php.net/manual/en/ref.imap.php\" target=\"_blank\"]imap[/a]...

hth

Cheers,
SamShel
-----------------------------------------------
--: FUTURE IS LINUX :--
-----------------------------------------------

#5 matfish

matfish
  • Members
  • PipPipPip
  • Advanced Member
  • 242 posts
  • LocationUK

Posted 24 July 2006 - 11:52 AM

This is a bump and a half... but...

Wondering if there was any answers to this? Sort of like PHPLIST, where it checks a mailbox and picks up the bounces. It then adds the bounces (contents of the emails) to the database and deletes the emails from the mailbox.

I would like to be able to send an email to the server/mailbox or to a script somehow and then put the to, from, subject and body into the database...?

Or is this just wishful thinking?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users