Click here to Skip to main content
15,896,359 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to use Insert Command for Varchar(Max) Pin
Luc Pattyn4-Dec-10 3:45
sitebuilderLuc Pattyn4-Dec-10 3:45 
QuestionVB6 ActiveX program get invoked from Source folder not program files. Pin
QuickBooksDev4-Dec-10 3:29
QuickBooksDev4-Dec-10 3:29 
QuestionType conversion? Pin
waner michaud1-Dec-10 8:10
waner michaud1-Dec-10 8:10 
AnswerRe: Type conversion? Pin
Dave Kreskowiak1-Dec-10 8:54
mveDave Kreskowiak1-Dec-10 8:54 
GeneralRe: Type conversion? Pin
waner michaud1-Dec-10 9:36
waner michaud1-Dec-10 9:36 
GeneralRe: Type conversion? Pin
Dave Kreskowiak1-Dec-10 14:08
mveDave Kreskowiak1-Dec-10 14:08 
GeneralRe: Type conversion? Pin
phil.o2-Dec-10 22:46
professionalphil.o2-Dec-10 22:46 
QuestionDoes AnyBody Faced This Problem? While sending E-Mails to Multiple clients... Pin
Paramu19731-Dec-10 1:00
Paramu19731-Dec-10 1:00 
Hi,

Iam using vb.net2008. And while I send E-Mails it's sending 3-times for 3 reciepents....means each address is receiving 3 mails...
I don't know...whats wrong with me..

Does AnyBody Faced This Problem?
Even I tried by adding CC and BCC, but everywhere its always sending the mails as per the number of addressess.


My Codings...
-----------------------------------------------------------------------

FrmMail = "one@codeproject.com"
ToAddress = "two@codeproject.com,three@codeproject.com,four@codeproject.com"
MailMsg = New System.Net.Mail.MailMessage(FrmMail, ToAddress)
MailMsg.Subject = RichTextBox3.Text
MailMsg.Body = RichTextBox1.Text
MailMsg.IsBodyHtml = False

'Its also sending as per the number of address"
'MailMsg.CC.Add(""two@codeproject.com,three@codeproject.com,four@codeproject.com")
'MailMsg.Bcc.Add(""two@codeproject.com,three@codeproject.com,four@codeproject.com")

'My SERVER
Dim smtp As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient("1.2.3.4", 25)
'My USER SYSTEM
Dim MailAuthentication As System.Net.NetworkCredential = New System.Net.NetworkCredential("1.3.2.1\someone", "123")
smtp.DeliveryMethod = Net.Mail.SmtpDeliveryMethod.Network
smtp.EnableSsl = False
smtp.UseDefaultCredentials = True
smtp.Credentials = MailAuthentication
Try
smtp.Send(MailMsg)
DataGridView1.Rows(TR1).Cells(3).Value = "MAIL HAS SENT"
Catch ex As Exception
MsgBox(ex.Message)
End Try

-----------------------------------------------------------------------

Thanks and Regards
PARAMU
AnswerRe: Does AnyBody Faced This Problem? While sending E-Mails to Multiple clients... Pin
Luc Pattyn1-Dec-10 2:36
sitebuilderLuc Pattyn1-Dec-10 2:36 
GeneralRe: Does AnyBody Faced This Problem? While sending E-Mails to Multiple clients... Pin
Paramu19731-Dec-10 2:42
Paramu19731-Dec-10 2:42 
QuestionMessage Closed Pin
30-Nov-10 14:37
Josh668030-Nov-10 14:37 
AnswerRe: How would I check if a certain process is running? Pin
Dave Kreskowiak30-Nov-10 15:10
mveDave Kreskowiak30-Nov-10 15:10 
QuestionMessage Closed Pin
1-Dec-10 10:44
Josh66801-Dec-10 10:44 
AnswerRe: How would I check if a certain process is running? Pin
Dave Kreskowiak1-Dec-10 14:14
mveDave Kreskowiak1-Dec-10 14:14 
GeneralMessage Closed Pin
1-Dec-10 14:56
Josh66801-Dec-10 14:56 
GeneralRe: How would I check if a certain process is running? Pin
Dave Kreskowiak1-Dec-10 18:01
mveDave Kreskowiak1-Dec-10 18:01 
AnswerRe: How would I check if a certain process is running? Pin
Rajesh Anuhya30-Nov-10 22:34
professionalRajesh Anuhya30-Nov-10 22:34 
QuestionRe: How would I check if a certain process is running? Pin
Luc Pattyn1-Dec-10 2:39
sitebuilderLuc Pattyn1-Dec-10 2:39 
QuestionAdd data to database Pin
ivo7530-Nov-10 8:23
ivo7530-Nov-10 8:23 
AnswerRe: Add data to database Pin
AspDotNetDev30-Nov-10 10:14
protectorAspDotNetDev30-Nov-10 10:14 
GeneralRe: Add data to database Pin
ivo7530-Nov-10 10:52
ivo7530-Nov-10 10:52 
AnswerRe: Add data to database Pin
Luc Pattyn30-Nov-10 11:16
sitebuilderLuc Pattyn30-Nov-10 11:16 
GeneralRe: Add data to database Pin
ivo7530-Nov-10 11:27
ivo7530-Nov-10 11:27 
Questionbegintrans, commit and rollback Pin
mabrahao30-Nov-10 2:06
mabrahao30-Nov-10 2:06 
AnswerRe: begintrans, commit and rollback Pin
Goutam Patra30-Nov-10 2:36
professionalGoutam Patra30-Nov-10 2:36 

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.