Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: link to compose Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rob
Groupie
Groupie


Joined: 03 September 2008
Location: Canada
Online Status: Offline
Posts: 60
Posted: 28 September 2009 at 1:02pm | IP Logged Quote rob

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 View rob's Profile Search for other posts by rob
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 September 2009 at 3:38am | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 
rob
Groupie
Groupie


Joined: 03 September 2008
Location: Canada
Online Status: Offline
Posts: 60
Posted: 29 September 2009 at 9:03am | IP Logged Quote rob

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 View rob's Profile Search for other posts by rob
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 30 September 2009 at 12:26am | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide