Em Andamento

Solve a little PHP problem

We are working on a project in which we need to login to pop mail server and get the total emails count and delete them . We have the code but it is not working , I think either their is a little problem in our code or our server is blocking something so we need help from you , we are providing the code below so just tell us where the problem is and how to solve it and make a bid for your help . First demo code ************************************************** $mbox = imap_open("{[url removed, login to view]}INBOX", "{username}", "{password}"); or die("Can't connect: " . imap_last_error()); // imap_open("{[url removed, login to view]}",$username,$password)" echo "

# Mailboxes

\n"; $folders = imap_listmailbox($mbox, "{[url removed, login to view]}INBOX", "*"); echo $folders; if ($folders == false) { echo "Call failed

\n"; } else { echo "Succss"; while (list ($key, $val) = each($folders)) { echo $val . "

\n"; } } echo "

# Headers in INBOX

\n"; $headers = imap_headers($mbox); if ($headers == false) { echo "Call failed

\n"; } else { while (list ($key, $val) = each ($headers)) { echo $val . "

\n"; } } imap_close($mbox); ************************************************** we had filled each information correctly here and have done lots of testings by doing some changes in this part 110/pop3/notls by removing notls , pop3 etc.. but failed everything so what do you suggest the error is ? more details below...............

## Deliverables

Second demo code **************************************************** $mbox = imap_open("{[url removed, login to view]}", "username", "password"); or die("Can't connect: " . imap_last_error()); $check = imap_mailboxmsginfo($mbox); echo "Messages before delete: " . $check->Nmsgs . "

\n"; imap_delete($mbox, 1); $check = imap_mailboxmsginfo($mbox); echo "Messages after delete: " . $check->Nmsgs . "

\n"; imap_expunge($mbox); $check = imap_mailboxmsginfo($mbox); echo "Messages after expunge: " . $check->Nmsgs . "

\n"; imap_close($mbox); **************************************************** This is a email deletion code but it is also not working. In both the codes it is not displaying any thing on our screen neither any error nor any results don't know the reason. Our Server is apache. here is the imap settings of our server IMAP c-Client Version 2001 SSL Support enabled Kerberos Support enabled I hope I had provided all the info that you needs . So, while bidding please provide us the info how to solve this problem. We need to solve it urgently. 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Any

Habilidades: Amazon Web Services, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: php mail help, php demo code, php codes list, part problem, problem part, inbox login, check php program, delete inbox, val , solve, solve some, solve problem, solve php error, php solve, login screen php, little, php pop form, php imap pop, pop3 mail server, php install imap, server client php ssl, php pop3 client, imap login, php server ssl, ssl problem solve

Acerca do Empregador:
( 162 comentários ) India

ID do Projeto: #3063088

Premiar a:

dmia

See private message.

$7 USD em 2 dias
(7 Avaliações)
1.8

5 freelancers estão ofertando em média $8 para este trabalho

dainiuxus

See private message.

$6.8 USD in 2 dias
(108 Comentários)
5.2
maxtabachuk

See private message.

$12.75 USD in 2 dias
(4 Comentários)
3.2
navapvw

See private message.

$8.5 USD in 2 dias
(7 Comentários)
2.3
wizzah

See private message.

$4.25 USD in 2 dias
(0 Comentários)
0.0