Thanks I never explained it well at all.,
The second lot of code is what is confusing the issue.
OK, I have built a Document system where people are signed up via the club I am building this website for. The person who runs the admin of the association wants to have certain emails for different areas. That to me is not a problem, as it is a simple process via the cPanel. What I am basically asking is the terminal or command the only option to run this cURL command or can I replicate it using PHP.
When I use the code suggested by cPanel it clearly is built for a different type of cPan