I have a form with 3 testboxes and a button I want the information in the textboxes to be sent to an email address when the button is clicked. I have written the following code for the button method but when i run it it goes into the catch method everytime displaying the message can't be sent. I commented out the try catch method to see where the problem was and it gave me the following error message "Invalid length for a Base-64 char array.
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.FormatException: Invalid length for a Base-64 char array."
on line smtpClient.Send(message);
I can't ...
Go to the complete details ...