Update class.smtp.php

Not all SMTP servers will provide a value for SIZE. This commit checks to be certain there is an element in the array before attempting to access it.
Update class.smtp.php

Set the value to 0 if the fields array is empty
Merge pull request #320 from hemmerich/patch-1

Update class.smtp.php