Author |
|
rob Groupie
Joined: 03 September 2008 Location: Canada
Online Status: Offline Posts: 60
|
Posted: 28 September 2009 at 1:02pm | IP Logged
|
|
|
Hello,
Within our website (that has an integrated webmail pro system) we want to have a linked email address that will take the user to the webmail system compose screen with the to field populated already.
IE:
<a href="composeEmail('me@test.com');">Click to email</a>
The composeEmail() would be a js function that makes the necessary calls to show the webmail layer and load the compose screen.
Example:
function composeEmail(recipient) {
// hide current layer
// show the webmail layer
// call the compose routine and have it load
}
I can take care of the showing and hiding within our system, but I need to know how I can basically simulate the 'New Message' button to compose and have the recipient address filled in.
Hopefully this makes sense and you can give me some direction to get this accomplished.
Rob
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 29 September 2009 at 3:38am | IP Logged
|
|
|
The only supported way to achieve what you need is to use UserLoginByEmail method with $startPage = START_PAGE_IS_NEW_MESSAGE and necessary $toEmail.
Best regards,
Andrew
|
Back to Top |
|
|
rob Groupie
Joined: 03 September 2008 Location: Canada
Online Status: Offline Posts: 60
|
Posted: 29 September 2009 at 9:03am | IP Logged
|
|
|
HI Andrew,
But if the user is already logged in and I just want to create a link very much like the 'New Message' link already in the system, what would the onClick event look like for this?
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 30 September 2009 at 12:26am | IP Logged
|
|
|
This is beyond standard functionality of the product, so please contact our Professional Services Team, they'll provide you with necessary instructions in terms of a custom project.
Best regards,
Andrew
|
Back to Top |
|
|