Hi,
Regarding SMTP configurations like server, user name, password, port etc
You can get all this information through cPanel by clicking configure this email for my client.
Good Luck for your osticket stuff.But remember to abide to High resource usage stuff..Scripts like these can easily...