Jump to content

imap connection help


jasonaud

Recommended Posts

Hello,

 

i have a script already written adn works on other server but not sure why it wont work on my dedicated server. here is the code to connect to the imap server.

 

i have a linux based server with cpanel/whm. imap is running.

 

any help would be appriciated.

 

<?php
$server = "server";
$user = "[email protected]";
$pass = "password";
$conn = @imap_open("\{$server/imap}INBOX", $user, $pass)
or die("Connection to server failed");
?>

Link to comment
https://forums.phpfreaks.com/topic/178484-imap-connection-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.