ddeboer / imap

Object-oriented, fully tested PHP IMAP library
MIT License
889 stars 252 forks source link

imap4 ID command #463

Open xwp93922 opened 4 years ago

xwp93922 commented 4 years ago

How to send ID command when using 163 mailbox

Slamdunk commented 4 years ago

I have no idea what you are talking about

xwp93922 commented 4 years ago

I have no idea what your are talking about

Example: C: a023 ID ("name" "sodr" "version" "19.34" "vendor" "Pink Floyd Music Limited") S: * ID NIL S: a023 OK ID completed

Slamdunk commented 4 years ago

Still I don't understand anything you're saying nor what you're asking :confused:

thesky2017 commented 3 years ago

How to send ID command when using 163 mailbox

hello Have you sloved your problem? I meet the question

I met IMAP_ Search function can't return normally, return empty array with all, return uid search state error with other types, have you ever met? I think Java can pass ID command, but PHP doesn't know how to pass it.

captainzsk commented 1 year ago

How to send ID command when using 163 mailbox

hello Have you sloved your problem? I meet the question

I met IMAP_ Search function can't return normally, return empty array with all, return uid search state error with other types, have you ever met? I think Java can pass ID command, but PHP doesn't know how to pass it.

Hello, have you found a solution yet? I have also encountered this issue. Regarding IMAP receiving emails on email 163, IMAP ID information is required, but I don't know how to set up ID information for PHP IMAP.

captainzsk commented 1 year ago

Here is the method for setting the imap ID in Java

****Code Block Region Start****

Properties props=new Properties();

Props. setProperty ("mail. store. protocol", "imap");

Props. setProperty ("mail. imap. host", "imap. 163. com");

Props. setProperty ("mail. imap. port", "143");

HashMap IAM=new HashMap();

//Bring IMAP ID information, consisting of key and value, such as name, version, vendor, support email, etc.

IAM. put ("name", "myname");

IAM. put ("version", "1.0.0");

IAM. put ("vendor", "myclient");

IAM. put ("support email"“ testmail@test.com );

Session session=Session. getInstance (props);

IMAPStore=(IMAPStore) session. getStore ("imap");

//Replace the corresponding account and authorization code below

Store. connect(“ testmail@163.com , "password");

Store. id (IAM);

****End of code block area****

xiebuhan commented 7 months ago

Hello, how do you do it in the end

xiebuhan commented 7 months ago

I have this problem now