Click here to Skip to main content
15,923,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Datagrid Questions Pin
dptalt17-Aug-05 7:31
dptalt17-Aug-05 7:31 
Generalcalling batch files from vb.net Pin
Anonymous16-Aug-05 3:31
Anonymous16-Aug-05 3:31 
GeneralRe: calling batch files from vb.net Pin
Dave Kreskowiak16-Aug-05 4:48
mveDave Kreskowiak16-Aug-05 4:48 
QuestionHow to take face pattern....? Pin
M SELVA KUMAR16-Aug-05 2:14
M SELVA KUMAR16-Aug-05 2:14 
AnswerRe: How to take face pattern....? Pin
Colin Angus Mackay16-Aug-05 3:48
Colin Angus Mackay16-Aug-05 3:48 
AnswerRe: How to take face pattern....? Pin
Dave Kreskowiak16-Aug-05 4:46
mveDave Kreskowiak16-Aug-05 4:46 
GeneralSending email to multiple recipients Pin
macca2416-Aug-05 1:22
macca2416-Aug-05 1:22 
GeneralRe: Sending email to multiple recipients Pin
Alsvha16-Aug-05 3:58
Alsvha16-Aug-05 3:58 
If it is the same e-mail which needs to be send to all the recipients, then why not simply compose one string containing the recipients adresses, seperated by semi-colon's and then place it in the BCC field.

So instead of

While dr.Read()<br />
<br />
Mail.To = dr("OrderNumber").ToString()<br />
Mail.Body = TextBox5.Text<br />
Mail.From = "jmcconalogue"<br />
SmtpMail.SmtpServer = "donegal-mail"<br />
SmtpMail.Send(Mail)<br />
<br />
End While


something along the line of:

dim strRecipients as string<br />
<br />
While dr.Read()<br />
<br />
strRecipients  &= dr("OrderNumber").ToString() & ";"<br />
<br />
End While<br />
<br />
Mail.BCC = strRecipients<br />
Mail.Body = TextBox5.Text<br />
Mail.From = "jmcconalogue"<br />
SmtpMail.SmtpServer = "donegal-mail"<br />
SmtpMail.Send(Mail)<br />


(note that the code is just meant to be an exampel of the idea)

---------------------------
127.0.0.1 - Sweet 127.0.0.1
GeneralArray inside a collection Pin
dlarkin7716-Aug-05 0:23
dlarkin7716-Aug-05 0:23 
GeneralRe: Array inside a collection Pin
Dave Kreskowiak16-Aug-05 4:44
mveDave Kreskowiak16-Aug-05 4:44 
GeneralRe: Array inside a collection Pin
Anonymous16-Aug-05 7:05
Anonymous16-Aug-05 7:05 
GeneralVB.Net in Linux Pin
len_ems15-Aug-05 23:50
len_ems15-Aug-05 23:50 
GeneralRe: VB.Net in Linux Pin
Kevin McFarlane16-Aug-05 5:54
Kevin McFarlane16-Aug-05 5:54 
GeneralRe: VB.Net in Linux Pin
len_ems16-Aug-05 23:34
len_ems16-Aug-05 23:34 
GeneralUrgent Pin
Anonymous15-Aug-05 20:27
Anonymous15-Aug-05 20:27 
GeneralRe: Urgent Pin
Christian Graus15-Aug-05 20:28
protectorChristian Graus15-Aug-05 20:28 
GeneralRe: Urgent Pin
Anonymous16-Aug-05 2:51
Anonymous16-Aug-05 2:51 
GeneralRe: Urgent Pin
toxcct16-Aug-05 4:02
toxcct16-Aug-05 4:02 
GeneralRe: Urgent Pin
Dave Kreskowiak16-Aug-05 4:37
mveDave Kreskowiak16-Aug-05 4:37 
QuestionNumbers in letters? Pin
Hadi Fakhreddine15-Aug-05 20:17
Hadi Fakhreddine15-Aug-05 20:17 
AnswerRe: Numbers in letters? Pin
Steve Pullan15-Aug-05 21:58
Steve Pullan15-Aug-05 21:58 
Generalhelp me share my folder Pin
Your Code15-Aug-05 17:13
Your Code15-Aug-05 17:13 
GeneralNewbie here Pin
Cx-15-Aug-05 16:04
Cx-15-Aug-05 16:04 
GeneralRe: Newbie here Pin
Christian Graus15-Aug-05 16:14
protectorChristian Graus15-Aug-05 16:14 
GeneralRe: Newbie here Pin
Daniel132415-Aug-05 16:25
Daniel132415-Aug-05 16:25 

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.