I'm trying to code a plugin using squirrelmail and I believe my concept of using functions and variables from other files is askew. I am trying to require a php file and use the functions that it has inside of it. However, the function requires that variables be set inside of it. So, can I include it and get the same results? How do I go about doing this?
PS. I'm doing this with squirrelmail 1.2.10 FYI. Using function smtp.php, trying to get the "from" and "to" addresses of a currently displayed email and generating email back to the sending party. Simple as that. 🙂