| Author | 
         | 
         
      
        
         
         AIWEB Groupie 
          
  
  Joined: 19 October 2010 Location: United States
 Online Status: Offline Posts: 54
          | 
        
         
          
           | Posted: 04 July 2011 at 9:03am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
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 | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 05 July 2011 at 3:48am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
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 | 
         
          
         | 
       
       
       
        |   |