Post your sendmail function. Without seeing it though, it looks like you need to adapt it to take two parameters:
void SendMail(char *Subject,char *Body)
And use those params appropriately in the body instead of your hard coded versions
Post your sendmail function. Without seeing it though, it looks like you need to adapt it to take two parameters:
void SendMail(char *Subject,char *Body)
And use those params appropriately in the body instead of your hard coded versions