Click here to Skip to main content
15,895,142 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPassword hacking Pin
Osama12324-Feb-06 3:18
Osama12324-Feb-06 3:18 
AnswerRe: Password hacking Pin
J4amieC24-Feb-06 3:45
J4amieC24-Feb-06 3:45 
AnswerRe: Password hacking Pin
[DK]KiloDunse24-Feb-06 6:24
[DK]KiloDunse24-Feb-06 6:24 
QuestionHow to kill an Excel process? Pin
Juan Pedro Prez24-Feb-06 2:34
Juan Pedro Prez24-Feb-06 2:34 
AnswerRe: How to kill an Excel process? Pin
Dean_SF24-Feb-06 8:40
Dean_SF24-Feb-06 8:40 
GeneralRe: How to kill an Excel process? Pin
Juan Pedro Prez24-Feb-06 9:07
Juan Pedro Prez24-Feb-06 9:07 
QuestionHow to shift to Admin account(in vb)? Pin
SIJUTHOMASP24-Feb-06 1:20
professionalSIJUTHOMASP24-Feb-06 1:20 
QuestionSending mail using SMTP Pin
Sgn_Flex23-Feb-06 23:43
Sgn_Flex23-Feb-06 23:43 
I've developed a website thro' and i'd like to see the suggestions of the users.
For that purpose i'd like to get the feedback from the users once they fill in the form.
The feedback must be sent to my email id automatically from the filled in information

when i tried i got the following error.................................
----------------------------------------------------------
the code goes like this
----------------------------------------------------------
Dim myMailServer As SmtpMail

myMessage.BodyFormat = MailFormat.Text

myMessage.Priority = MailPriority.High

myMessage.From = "xyz@urdomain.com" 'From Address

myMessage.To = "mymailid@mydomain.com" 'To Address

myMessage.Subject = "hi"

myMessage.Body = "hello"

myMailServer.SmtpServer = "smtp.net4india.com"
'This is my mail server

myMailServer.Send(myMessage)

myMessage = Nothing

----------------------------------------------------------
error msg is like this
----------------------------------------------------------
The transport failed to connect to the server.
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.Runtime.InteropServices.COMException: The transport failed to connect to the server.

Source Error:


Line 103: myMailServer.SmtpServer = "smtp.net4india.com" 'This is my mail server '

Line 104: myMailServer.Send(myMessage)



AnswerRe: Sending mail using SMTP Pin
Guffa24-Feb-06 0:20
Guffa24-Feb-06 0:20 
AnswerRe: Sending mail using SMTP Pin
Divya Rathi24-Feb-06 9:08
Divya Rathi24-Feb-06 9:08 
QuestionHow do I convert Image to FileStream Pin
alien viper23-Feb-06 23:22
alien viper23-Feb-06 23:22 
AnswerRe: How do I convert Image to FileStream Pin
Nibu babu thomas24-Feb-06 1:15
Nibu babu thomas24-Feb-06 1:15 
AnswerRe: How do I convert Image to FileStream Pin
[DK]KiloDunse24-Feb-06 2:23
[DK]KiloDunse24-Feb-06 2:23 
GeneralRe: How do I convert Image to FileStream Pin
alien viper24-Feb-06 15:33
alien viper24-Feb-06 15:33 
GeneralRe: How do I convert Image to FileStream Pin
[DK]KiloDunse24-Feb-06 16:27
[DK]KiloDunse24-Feb-06 16:27 
Questionplease help me error occured in project Pin
vivek_pon23-Feb-06 23:12
vivek_pon23-Feb-06 23:12 
AnswerRe: please help me error occured in project Pin
CWIZO24-Feb-06 6:27
CWIZO24-Feb-06 6:27 
QuestionHow to Open a notepad from VBA....Urgent Pin
winpoorni23-Feb-06 20:22
winpoorni23-Feb-06 20:22 
AnswerRe: How to Open a new notepad from VBA....Urgent Pin
Divya Rathi23-Feb-06 20:33
Divya Rathi23-Feb-06 20:33 
QuestionHow to Open a new notepad from VBA....Urgent Pin
winpoorni23-Feb-06 22:10
winpoorni23-Feb-06 22:10 
AnswerRe: How to Open a new notepad from VBA....Urgent Pin
sathish s24-Feb-06 1:10
sathish s24-Feb-06 1:10 
AnswerRe: How to Open a new notepad from VBA....Urgent Pin
Divya Rathi24-Feb-06 9:17
Divya Rathi24-Feb-06 9:17 
QuestionHow to set the form with a fixd style? Pin
cylix200023-Feb-06 19:06
cylix200023-Feb-06 19:06 
Question2 Important but basic questions. Pin
ThePmanLives23-Feb-06 18:13
ThePmanLives23-Feb-06 18:13 
AnswerRe: 2 Important but basic questions. Pin
Joshua Quick24-Feb-06 8:05
Joshua Quick24-Feb-06 8:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.