Advertisement
Advertisement
| 08.04.2008 at 01:36PM PDT, ID: 23620387 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: |
Private Sub btn_SendMail_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_SendMail.Click
Dim ma As New Mapi()
Dim recipientAddress As String = "N-tron_Support@n-Tron.com"
Dim subjectText As String = "Call Update"
Dim bodyText As String = "Call Upate Data:" + Environment.NewLine + Environment.NewLine
If chbx_Region1.Checked Then recipientAddress = "region1@n-tron.com"
If chbx_Region2.Checked Then recipientAddress = "region2@n-tron.com"
If chbx_Region3.Checked Then recipientAddress = "region3@n-tron.com"
If chbx_Region4.Checked Then recipientAddress = "region4@n-tron.com"
If chbx_Support.Checked Then recipientAddress = "n-tron_Support@n-tron.com"
'defines the information in the body of the e-mail
bodyText &= "Status: " & StatusComboBox.Text & Environment.NewLine
bodyText &= "Company: " & Tbl_CompanyTextBox.Text & Environment.NewLine
bodyText &= "First Name: " & Tbl_CustFirstNameTextBox.Text & Environment.NewLine
bodyText &= "Last Name: " & Tbl_CustLastNameTextBox.Text & Environment.NewLine
bodyText &= "Telephone Number: " & Tbl_TelephoneNumTextBox.Text & Environment.NewLine
bodyText &= "Address: " & Tbl_AddressTextBox.Text & Environment.NewLine
bodyText &= "Customer Notes: " & Customer_NotesTextBox.Text & Environment.NewLine
bodyText &= "Model: " & ModelComboBox.Text & Environment.NewLine
bodyText &= "Tech Notes: " & Tech_NotesTextBox.Text & Environment.NewLine
bodyText &= "Tech First Name: " & Tech_First_NameTextBox.Text & Environment.NewLine
bodyText &= "Tech Last Name: " & Tech_Last_NameTextBox.Text & Environment.NewLine
bodyText &= "Tech Extension Number: " & Tech_ExtensionTextBox.Text & Environment.NewLine
bodyText &= "Tech_Email: " & Tech_EmailTextBox.Text
ma.AddRecip(recipientAddress, "", False)
If (Not ma.Send(subjectText, bodyText)) Then _
MessageBox.Show(Me, "MAPISendMail failed! " + ma.ErrorMessage(), "Send Mail", MessageBoxButtons.OK, MessageBoxIcon.Warning)
ma.Reset()
Me.Close()
End Sub
|