Author |
|
MWaldorf Newbie
Joined: 31 March 2017
Online Status: Offline Posts: 9
|
Posted: 31 March 2017 at 3:18pm | IP Logged
|
|
|
When integrating AfterLogic in a website, is it possible to pre-populate email text? I.e., click from a link elsewhere in the site and open the AfterLogic new message page in a frame with the subject and body filled in?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 03 April 2017 at 2:51am | IP Logged
|
|
|
Yes that's possible, you would need to use this kind of URL structure:
https://webmail.yourdomain.com/#single-compose/to/mailto:someone@example.com?subject=This%20is%20the%20subject&cc=someoneelse@example.com&body=This%20is%20the%20body
Keep in mind that all the data used in URLs need to be URL-encoded.
And of course, it will only work if user is logged into WebMail; if that's not the case, you need to log them in, first.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
MWaldorf Newbie
Joined: 31 March 2017
Online Status: Offline Posts: 9
|
Posted: 03 April 2017 at 12:20pm | IP Logged
|
|
|
Igor,
I've tried this and it's not working - I'm using the .Net version if that makes a difference. As I'm evaluating this on my local machine, here's the url I'm using:
http://localhost/webmail/#single-compose/to/mailto:someone@example.com?subject=This%20is%20the%20subject&cc=someoneelse@example.com&body=This%20is%20the%20body
It punts me to the login screen and then to the default webmail.aspx view. Am I missing something obvious?
Thanks, Mel
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 04 April 2017 at 12:27am | IP Logged
|
|
|
This approach was implemented for PHP version only.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
MWaldorf Newbie
Joined: 31 March 2017
Online Status: Offline Posts: 9
|
Posted: 04 April 2017 at 3:48pm | IP Logged
|
|
|
Thanks Igor - I switched to the php version and it's working.
|
Back to Top |
|
|