imap icon indicating copy to clipboard operation
imap copied to clipboard

imap4 ID command

Open xwp93922 opened this issue 5 years ago • 8 comments

How to send ID command when using 163 mailbox

xwp93922 avatar May 14 '20 10:05 xwp93922

I have no idea what you are talking about

Slamdunk avatar May 14 '20 10:05 Slamdunk

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

xwp93922 avatar May 15 '20 02:05 xwp93922

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

Slamdunk avatar May 15 '20 05:05 Slamdunk

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.

thesky2017 avatar Jan 29 '21 08:01 thesky2017

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 avatar Aug 29 '23 07:08 captainzsk

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"“ [email protected] );

Session session=Session. getInstance (props);

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

//Replace the corresponding account and authorization code below

Store. connect(“ [email protected] , "password");

Store. id (IAM);

End of code block area

captainzsk avatar Aug 29 '23 07:08 captainzsk

Hello, how do you do it in the end

xiebuhan avatar Apr 30 '24 09:04 xiebuhan

I have this problem now

xiebuhan avatar Apr 30 '24 09:04 xiebuhan