Hello all,
I have a cdo email component that my company has been using now for about 3 weeks.
Yesterday, they determined that we need to bold a portion of the information on the body of email.
For instance, if we have a message like this:
"Your order is" &order&, we would like to bold the "Your order is" part.
Unfortunately, I found out yesterday that cdo doesn't allow formatting.
I was wondering if anyone has a sample of sending html email that picks info from the database and sends them out.
Below is what the cdo part that I needed to format but couldn't.
With iMsg
Set .Configuration = iConf
.From = ""&AuthEmail&""
.To = "john.doe@yahoo.com ;" & ccCheck & " "
.Sender = ""&AuthEmail&""
.cc = ""&AuthEmail&""
.Subject = "User Request Form: "&key&""
.TextBody = "User Request Form " & vbCrLf & vbCrLf & "Request Form Number:" &key&" " & vbCrLf & vbCrLf & "Service Requested: "&service&", "&ccCheck&"."& vbCrLf & vbCrLf & "Profile: "&Profile&"." & vbCrLf & vbCrLf & "Authorized Requestor Name: "&authname&" & "Mother's Maiden Name: "&MotherMaidenName&". " & vbCrLf & vbCrLf & "Job Title: "&jobTitle&". Phone Number: "&phone&". Notary Initial: "&NotaryInitial&"." & vbCrLf & vbCrLf &"Address: "&StAddress&", Suite: "&SecAddress&" City: "&city&", Zip: "&Zip&". " & vbCrLf & vbCrLf & "Agency Name: "&AgencyName&". Agency Number: "&AgencyNo&". Organization Name: "&OrgName&". Organization Number: "&OrgNo&". Vendor: "&Company&". "& vbCrLf & vbCrLf & "User ID to be Modeled: "&UserID&". "& vbCrLf & vbCrLf & "VPS - Pagecenter Information: "& vbCrLf & vbCrLf & "Application: "&VSPapp&" Mailbox: "&VPSmailbox&" & vbCrLf & "Notes: "& vbCrLf & vbCrLf & ""&Notes&""
.Send
End With
Any urgent assistance would be greatly appreciated.
Thanks in advance
I have a cdo email component that my company has been using now for about 3 weeks.
Yesterday, they determined that we need to bold a portion of the information on the body of email.
For instance, if we have a message like this:
"Your order is" &order&, we would like to bold the "Your order is" part.
Unfortunately, I found out yesterday that cdo doesn't allow formatting.
I was wondering if anyone has a sample of sending html email that picks info from the database and sends them out.
Below is what the cdo part that I needed to format but couldn't.
With iMsg
Set .Configuration = iConf
.From = ""&AuthEmail&""
.To = "john.doe@yahoo.com ;" & ccCheck & " "
.Sender = ""&AuthEmail&""
.cc = ""&AuthEmail&""
.Subject = "User Request Form: "&key&""
.TextBody = "User Request Form " & vbCrLf & vbCrLf & "Request Form Number:" &key&" " & vbCrLf & vbCrLf & "Service Requested: "&service&", "&ccCheck&"."& vbCrLf & vbCrLf & "Profile: "&Profile&"." & vbCrLf & vbCrLf & "Authorized Requestor Name: "&authname&" & "Mother's Maiden Name: "&MotherMaidenName&". " & vbCrLf & vbCrLf & "Job Title: "&jobTitle&". Phone Number: "&phone&". Notary Initial: "&NotaryInitial&"." & vbCrLf & vbCrLf &"Address: "&StAddress&", Suite: "&SecAddress&" City: "&city&", Zip: "&Zip&". " & vbCrLf & vbCrLf & "Agency Name: "&AgencyName&". Agency Number: "&AgencyNo&". Organization Name: "&OrgName&". Organization Number: "&OrgNo&". Vendor: "&Company&". "& vbCrLf & vbCrLf & "User ID to be Modeled: "&UserID&". "& vbCrLf & vbCrLf & "VPS - Pagecenter Information: "& vbCrLf & vbCrLf & "Application: "&VSPapp&" Mailbox: "&VPSmailbox&" & vbCrLf & "Notes: "& vbCrLf & vbCrLf & ""&Notes&""
.Send
End With
Any urgent assistance would be greatly appreciated.
Thanks in advance