Questions tagged as 'imap'

1
answer

Save email to SENT, IMAP folder

I am trying to save emails sent by PhpMailer in the "Sent" folder, so that whoever accesses the email will see what was sent by the system. I can save the Inbox folder with the following code: $mailbox = "{".$mail->Host.":143/novalidate...
asked by 12.11.2018 / 14:13
0
answers

Transform IMAP email body into String

I'm using imap-simple lib to get the emails from my inbox, I had no difficulty retrieving the data, but the body of the email is coming with formatting headers and a code. As I do not know much about email, I wanted to know how I can remo...
asked by 23.10.2018 / 22:40
1
answer

Imap works only on CLI

The PHP imap extension works only through the command line. When calling the script from another place the return is: PHP Fatal error: Uncaught Error: Call to undefined function imap_open() When running a simple script in the cli the f...
asked by 26.07.2018 / 01:06
1
answer

How to transform mail object into Stream, Buffer or String?

I'm doing an email application and my server is being done in HapiJS, and I'm having trouble picking up the email and turning it into a String, Buffer, or Stream. I want to transform to these formats because they are the only ones that MailP...
asked by 28.08.2017 / 21:10