Author |
|
dansmith Newbie
Joined: 16 December 2017 Location: United Kingdom
Online Status: Offline Posts: 9
|
Posted: 16 December 2017 at 6:57pm | IP Logged
|
|
|
working in PHP/html and trying to create a link which will show the message content of a given message when I have the UID of the message.
So, in my page I show the most recent 5 emails (using the example code give), I can flag which are read/unread etc and want the user to be able to click on an item for it then to link through to the message screen in their inbox as if they'd clicked on from their inbox.
is there a URL format or similar I can generate which would provide this?
thanks!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 December 2017 at 2:28am | IP Logged
|
|
|
You can actually see such an URL when clicking a message in WebMail, the matching URL will be shown in address bar of the browser. If you need an entire interface to be open, with a message selected, that will be:
https://webmail.yourdomain.com/#mailbox/FolderName/msgNNNNN
where FolderName is an actual IMAP folder, and msgNNNNN refers to a message UID.
And for opening just the message itself, it'll be:
https://webmail.yourdomain.com/#single-message-view/FolderName/msgNNNNN
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
dansmith Newbie
Joined: 16 December 2017 Location: United Kingdom
Online Status: Offline Posts: 9
|
Posted: 18 December 2017 at 3:53pm | IP Logged
|
|
|
great, thank you.
|
Back to Top |
|
|