Hi, I am using the basic CDO method to send an email from Access.
I was looking how to use a field on the active form to populate the .To and .TextBody fields in the CDO mod.
Can anyone help?
Thanks
With cdomsg
.To = *Trying to get this from the field To on my open form
.From = "CAM360Delinquent@cam-trucks.com"
'.Subject = "Purchase Order Alert - CAM360"
.Subject = "CAM360 Lease Payment Default"
.TextBody = "Message: " & SMSForm.Form("Message")
.Send
I was looking how to use a field on the active form to populate the .To and .TextBody fields in the CDO mod.
Can anyone help?
Thanks
With cdomsg
.To = *Trying to get this from the field To on my open form
.From = "CAM360Delinquent@cam-trucks.com"
'.Subject = "Purchase Order Alert - CAM360"
.Subject = "CAM360 Lease Payment Default"
.TextBody = "Message: " & SMSForm.Form("Message")
.Send