Summary :- I am keeping my existing web host, but have changed email
hosts for my domain name - ALL PHP / web scripts etc remain on my
existing host....

START CODE :-
=============================

$server = "mail.DOMAIN.com";
$server = "{".$server.":143/notls"."}"."INBOX";

echo "
<PRE>
Using NEW password server / Userid. - JAN 18th 2007 \n\n";

$user = "mail";
$password = "password";

$subjectMatch = "Test";  // subject of the email messages you want processed
$delete = "N";  // if delete is Y then processed mail will be deleted
$maxdelete="Y";


#$host = "{".$server.":143"."}"."INBOX";
$msgStream = imap_open($server, $user, $password);

=============================
END CODE



Hi, I'm using the above code...

It HAS been working on my existing host (checking my POP account.. )

Due to some issues, I am changing hosts for emails, but keeping all my
web / HTTP services on my existing host...

QUESTION :- I'll assume that when the above is run, it searches for
the Email/POP DNS settings & not http (EG http://mail.DOMAIN.com )


:- my new POP account is represented by "mail" & "password" represents
my actual password (both are correct in my script)...

QUESTION :-

Is there any code I can add to the script, to advise it has TRIED to
connect, but something (error) has occurred.
(or just connected sucessfully- But no messages received...)

& possibly the DNS / IP address of the host it has tried to connect to ?

PS,

I opened my new email service 1-2 days ago (my time), but advised my
current website/host to change the DNS settings etc - only about 4-5
hours ago....

QUESTION :- I'll assume as the WWW DNS for email points to my web host
- The web-host DNS will re-direct emails to the new-host - in the
mean-time (till DNS propegation occurs for all emails... )


-- 
G
NZ community groups - [EMAIL PROTECTED]
Freecycle Auckland :-
http://groups.yahoo.com/group/AucklandFreecycle/

Reply via email to