Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: API Send To method problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
AIWEB
Groupie
Groupie
Avatar

Joined: 19 October 2010
Location: United States
Online Status: Offline
Posts: 54
Posted: 04 July 2011 at 9:03am | IP Logged Quote AIWEB

When I use the send to method of the API

a URL like this: webmail.php?check=1&start=1&to=thisemail115@gmail.com

turns into this: webmail.php?check=1&start=1&to=thisemail@gmail.com without the numbers in the email

Any way to remedy this?
Back to Top View AIWEB's Profile Search for other posts by AIWEB
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 05 July 2011 at 3:48am | IP Logged Quote Igor

Locate this line of code in webmail.php file:

Code:
$to = isset($_GET['to']) ? preg_replace('/[^a-zA-Z\.\-@]/', '', $_GET['to']) : '';


and replace it with:

Code:
$to = isset($_GET['to']) ? preg_replace('/[^a-zA-Z0-9\.\-@]/', '', $_GET['to']) : '';


Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

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