Author |
|
smalldeath Newbie
Joined: 02 April 2016 Location: Mexico
Online Status: Offline Posts: 3
|
Posted: 02 April 2016 at 1:43am | IP Logged
|
|
|
Hi!
Is there a way to create for example, a direct link to a new compose window with preloaded destination and/or subject?
I'm trying to add "special" links to my webapp, and I want to create direct-link, passed trough GET vars, ie: domain.com/emailafterlogic/compose?to=hello@world.com&subject=Info%20about%20service
I haven't problems with E-mail login integration.
I hope somebody can help me, please
Thanks
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 04 April 2016 at 2:46am | IP Logged
|
|
|
Hi,
You can compose the desirable link in the following way:
WEBMAIL_URL/#single-compose/to/mailto:test-to@test.com?subject=test-subject&cc=test-cc@test.com&body=test-body
Everything beyond 'mailto' in this link must be URL-encoded (this also concerns all the special characters like ':','?','&'), so the resulting link will be like the following one:
WEBMAIL_URL/#single-compose/to/mailto%3Atest-to%40test.com%3Fsubject%3Dtest-subject%26cc%3Dtest-cc%40test.com%26body%3Dtest-body
Regards,
Alex
|
Back to Top |
|
|
smalldeath Newbie
Joined: 02 April 2016 Location: Mexico
Online Status: Offline Posts: 3
|
Posted: 05 April 2016 at 8:51pm | IP Logged
|
|
|
It works! thanks :)
Alex wrote:
Hi,
You can compose the desirable link in the following way:
WEBMAIL_URL/#single-compose/to/mailto:test-to@test.com?subject=test-subject&cc=test-cc@test.com&body=test-body
Everything beyond 'mailto' in this link must be URL-encoded (this also concerns all the special characters like ':','?','&'), so the resulting link will be like the following one:
WEBMAIL_URL/#single-compose/to/mailto%3Atest-to%40test.com%3Fsubject%3Dtest-subject%26cc%3Dtest-cc%40test.com%26body%3Dtest-body
Regards,
Alex |
|
|
|
Back to Top |
|
|