The datatype of server should be string not an integer
Check the SMTP mail properties once; I think that due to a datatype mismatch only, it threw an error.
Please send screenshots of your mail properties.
try Without using Cint or Dont use .ToString
Check that the value in your Config file is definitely a number, I imagine it’d be
25 you will need in the value.
@Manju_Reddy_Kanughula Check any space is there before the value in config.Sometimes that could cause the issue
It is working with hard coding values
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.