SMTP on LOCALHOST

Hi,
I am using pub.client:smtp service on windows localhost with webmethods6 version. While using i am having an error with the input fields. can someone let me what to specifies if i use on localhost. i am very new to webmethods .
Thanks in advance.
-RAO