well the thing is I have to specify a port because my smtp port is not 25 which is why I'm using net:smtp instead of email::send
I didn't think I had to escape the @ in blah@blah.com since I'm reading in a config file which populates the $cfg->{}->{}
When I'm debugging the program the program variables appear correct. I'll try escaping the e-mail address nonetheless and see what happens