Author |
|
hemorieder Newbie
Joined: 17 June 2014
Online Status: Offline Posts: 7
|
Posted: 17 June 2014 at 2:10am | IP Logged
|
|
|
Hey,
every user has a one identity in my case. I want that by default this identity is used and not the standard account. Is this possible ?
Would be perfect :)
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 June 2014 at 2:12am | IP Logged
|
|
|
That's not currently available. We're considering adding that in future version of the product, and right now we're researching an optimal way for this to be presented in the interface while keeping it clear and simple.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
hemorieder Newbie
Joined: 17 June 2014
Online Status: Offline Posts: 7
|
Posted: 17 June 2014 at 2:27am | IP Logged
|
|
|
hmmm okay,
is it possible to set the send email adress for each user fixed ?
because my problem is:
my hoster uses as mail login: mail_XYC_box
And so the default send email in AF ist : mail_XYC_box@domain.com
But i want that it is: name@domain.com
Is it possible to make that fix for every user (5 accounts) ?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 June 2014 at 2:41am | IP Logged
|
|
|
It's possible to implement custom email/username mapping via this plugin.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
hemorieder Newbie
Joined: 17 June 2014
Online Status: Offline Posts: 7
|
Posted: 17 June 2014 at 3:08am | IP Logged
|
|
|
Yeah that looks good, but i have one little problem, only the first 2 logins work (tom, john) and not the others (tim, bill,sam,peter) any idea why ?
if (empty($sIncLogin))
{
$sIncLogin = str_replace('tom@test.de', 'mailbox_p1', $sEmail);
$sIncLogin = str_replace('john@test.de', 'mailbox_p2', $sEmail);
$sIncLogin = str_replace('tim@test.de', 'mailbox_p3', $sEmail);
$sIncLogin = str_replace('bill@test.de', 'mailbox_p15', $sEmail);
$sIncLogin = str_replace('sam@test.de', 'mailbox_p7', $sEmail);
$sIncLogin = str_replace('peter@test.de', 'mailbox_p4', $sEmail);
}
else
{
$sIncLogin = str_replace('tom@test.com', 'mailbox_p1', $sIncLogin);
$sIncLogin = str_replace('john@test.com', 'mailbox_p2', $sIncLogin);
$sIncLogin = str_replace('tim@test.com', 'mailbox_p3', $sIncLogin);
$sIncLogin = str_replace('bill@test.com', 'mailbox_p15', $sIncLogin);
$sIncLogin = str_replace('sam@test.com', 'mailbox_p7', $sIncLogin);
$sIncLogin = str_replace('peter@test.com', 'mailbox_p4', $sIncLogin);
}
|
Back to Top |
|
|
hemorieder Newbie
Joined: 17 June 2014
Online Status: Offline Posts: 7
|
Posted: 17 June 2014 at 3:18am | IP Logged
|
|
|
the real logins like "mailbox_p7" are working
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 June 2014 at 3:50am | IP Logged
|
|
|
Code:
$sIncLogin = str_replace('tom@test.de', 'mailbox_p1', $sEmail);
$sIncLogin = str_replace('john@test.de', 'mailbox_p2', $sEmail);
$sIncLogin = str_replace('tim@test.de', 'mailbox_p3', $sEmail);
... |
|
|
It's not going to work as expected, every next line cancels the effect of the previous one replacing value of $sIncLogin. Try something like this instead:
Code:
if ($sEmail == 'tom@test.de') $sIncLogin = 'mailbox_p1';
if ($sEmail == 'john@test.de') $sIncLogin = 'mailbox_p2';
if ($sEmail == 'tim@test.de') $sIncLogin = 'mailbox_p3';
... |
|
|
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
hemorieder Newbie
Joined: 17 June 2014
Online Status: Offline Posts: 7
|
Posted: 17 June 2014 at 4:28am | IP Logged
|
|
|
yeah that works great! thank you very much :)
|
Back to Top |
|
|