Jump to content

having problems using imap_open


svgmx5

Recommended Posts

I'm trying to test a connection via imap. however I keep getting a 500 error at times.

 

Below is the example of the script that i use and this gets me a 500 error. The server is um.domainanem.com this is a Telinta PORTAUM system and their support said to use that as the server name. I have also tried adding um.domainanme.com:143 & um.domainname.com:143/imap

 

$server = 'um.domainname.com';
$login = '12345656@um.domainname.com';
$password = '1234';
$connection = imap_open("{".$server."}", $login, $password);

The weird thing is that when i use brackets on the server i get a 500 error, and if i don't use brackets i get nothing on the page.

 

So with the example below i don't get an error, i just get a blank page.

$connection = imap_open($server, $login, $password);

 

 

 

I'm assuming that i need the brackets....anyways, if anyone can help me out that would be great or let me know if'm writing it correctly. Again thank you

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.