smtp: Fix compiler warning

warning: unused variable 'smtp' introduced in commit 73cbd21b5ee6.