Jump to content


Photo

email and php simple questions


  • Please log in to reply
4 replies to this topic

#1 emc2k99

emc2k99
  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 13 March 2006 - 03:57 AM

Hey everyone,
I want to write a mail client to integrate into my site...

Is there an email server that especially used with php? Basically, something that may be the email equivalent to mysql?

I visited php dot net, and there is "information" on configuring php, but it is all non-descriptive and pretty vague, so I ask: does anyone know of any good tutorials on the subject?

The only real thing I am fuzzy on is setting php up to work with a mail server, after I grasp an understanding of how to set up and then administrate either pop, imap or smtp with php (and eventually, ultimately know all there is to know about the subject), I should be pretty good to go. The commands and keywords are, as usual, self-explanatory.

Let me just take a moment to thank this supportive forum community.

I appreciate all help as always,
emc

#2 keeB

keeB
  • Staff Alumni
  • Advanced Member
  • 1,078 posts
  • LocationCalifornia

Posted 13 March 2006 - 04:07 AM

[!--quoteo(post=354396:date=Mar 13 2006, 03:57 AM:name=emc2k99)--][div class=\'quotetop\']QUOTE(emc2k99 @ Mar 13 2006, 03:57 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Hey everyone,
I want to write a mail client to integrate into my site...

Is there an email server that especially used with php? Basically, something that may be the email equivalent to mysql?

I visited php dot net, and there is "information" on configuring php, but it is all non-descriptive and pretty vague, so I ask: does anyone know of any good tutorials on the subject?

The only real thing I am fuzzy on is setting php up to work with a mail server, after I grasp an understanding of how to set up and then administrate either pop, imap or smtp with php (and eventually, ultimately know all there is to know about the subject), I should be pretty good to go. The commands and keywords are, as usual, self-explanatory.

Let me just take a moment to thank this supportive forum community.

I appreciate all help as always,
emc
[/quote]

php works best with smtp and it's mail function to use it.. [=

Come visit my site to see my latest projects
http://nick.stinemates.org/wordpress/


#3 emc2k99

emc2k99
  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 13 March 2006 - 04:21 AM

If I can use php to read - and not just write - from an smtp-based server (if there is such a thing, i'm not sure at all), I would.

#4 keeB

keeB
  • Staff Alumni
  • Advanced Member
  • 1,078 posts
  • LocationCalifornia

Posted 13 March 2006 - 04:25 AM

Oh.. I didn't see that you wanted to READ as well.. I think to do that.. you would need to use SOCKETS..

Come visit my site to see my latest projects
http://nick.stinemates.org/wordpress/


#5 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 13 March 2006 - 04:30 AM

Is your host Linux/Unix based or Windows based? PHP can read POP and IMAP mailboxes. See the [a href=\"http://www.php.net/imap\" target=\"_blank\"]IMAP[/a] functions.

Most Linux/Unix systems run the sendmail daemon, or some varient or clone like exim. These programs can be set up to send incoming email messages directly into a PHP script which processes each mail message.

Read up on PHP & mail in the [a href=\"http://www.php.net/manual/en/ref.mail.php\" target=\"_blank\"]manual[/a].

Ken




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users