Writing of the incoming e-mail to -data base
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alex_Undynko
Posted On:   Thursday, October 25, 2001 07:53 AM

I want to write an incoming e-mail from the SMPT server (from INBOX) to the some table in the Data Base which is located under the MySQL server. The fiels of the table correspond to the e-mail fields in the INBOX. i.e. ID numeric (8) FROM varchar(255) TO varchar(255) CC varchar(255) BCC varchar(255) SUBJECT varchar(255) ........................ The questions: 1) How I can do this? 2) It's easy possible to convert the "FROM" field to write it like a string to the Data base. (with using the "toString()" function) But!! What to do with the "TO", "CC", "   More>>

I want to write an incoming e-mail from the SMPT
server (from INBOX) to the some table in the
Data Base which is located under the MySQL server.
The fiels of the table correspond to the e-mail fields
in the INBOX.
i.e.
ID numeric (8)
FROM varchar(255)
TO varchar(255)
CC varchar(255)
BCC varchar(255)
SUBJECT varchar(255)
........................
The questions:
1) How I can do this?
2) It's easy possible to convert the "FROM" field
to write it like a string to the Data base. (with using
the "toString()" function)
But!! What to do with the "TO", "CC", "BCC"?
How to convert these fields to the string?

Alex Undynko

   <<Less
About | Sitemap | Contact