Click to See Complete Forum and Search --> : imap???


gruetztian
12-16-2003, 08:48 AM
who can help me...

i have read and try to work with the php imap functions.
the author of a article was doing it in this way

create some variables to store the userstats:

$server = "{pop.gmx.net/pop3:110}";
$mailbox = "{pop.gmx.net/pop3:110}INBOX";
$imapbox = "{mail.gmx.net/smtp:25}INBOX.Drafts";//is this notation correct

$username = "xxx";
$password = "xxx"

//connect the server

$mbox = imap_open($imapbox,$username,$password) or die ("not connected...");
//but here php always said "not connected"


//send the message

imap_append($mbox,$imapbox,$message);


whats my problem???