Find Jobs
Hire Freelancers

Solve a little PHP problem

$10-15 USD

En curso
Publicado hace más de 20 años

$10-15 USD

Pagado a la entrega
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("{[login to view URL]}INBOX", "{username}", "{password}"); or die("Can't connect: " . imap_last_error()); // imap_open("{[login to view URL]}",$username,$password)" echo " # Mailboxes \n"; $folders = imap_listmailbox($mbox, "{[login to view URL]}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("{[login to view URL]}", "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
ID del proyecto: 3063088

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 20 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
3 freelancers están ofertando un promedio de $9 USD por este trabajo
Avatar del usuario
See private message.
$6,80 USD en 2 días
4,9 (108 comentarios)
5,2
5,2
Avatar del usuario
See private message.
$12,75 USD en 2 días
5,0 (4 comentarios)
3,2
3,2
Avatar del usuario
See private message.
$8,50 USD en 2 días
4,8 (7 comentarios)
2,3
2,3

Sobre este cliente

Bandera de INDIA
India
5,0
162
Miembro desde jun 12, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.