diff --git a/modules/auxiliary/client/smtp/emailer.rb b/modules/auxiliary/client/smtp/emailer.rb index 1414e23bc5..188becee83 100644 --- a/modules/auxiliary/client/smtp/emailer.rb +++ b/modules/auxiliary/client/smtp/emailer.rb @@ -177,7 +177,7 @@ class MetasploitModule < Msf::Auxiliary name = nem[0].split(' ') fname = name[0] lname = name[1] - email = nem[1] + email = nem[1].strip if add_name