Art – As I said, the code will show you how to put the data in the body. You don't have to send any attachments. As with all my code, I make it as generic and flexible as possible.
Regards,
Bill
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Thursday, February 15, 2018 2:53 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Re: Sending email via Outlook.
I want the contents of the fields to appear in the email not an attachment.
With Warm Regards,
Arthur D. Lorenzini
IT System Manager
Cheyenne River Housing Authority
Wk.(605)964-4265 Ext. 130
Fax (605)964-1070
"Valar Dohaeris"
From: "wrmosca@comcast.net [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com>
To: MS_Access_Professionals@yahoogroups..com
Sent: Thursday, February 15, 2018 4:00 PM
Subject: [MS_AccessPros] Re: Sending email via Outlook.
Art - You can capture the values (if it's a bound form) or the boxes' Text if they are not bound. Then put them in a string. If you want each on its own line seperate them with vbNewLine.
Example:
txtIssue & vbNewLine & txtIssueDate & vbNewLine & txtEmployee
Next, use my "Mailing more than one attachment" code sample at my site to see how to use the body of the email and how to edit it.
Regards,
Bill Mosca, Founder - MS_Access_Professionals
My nothing-to-do-with-Access blog
---In MS_Access_Professionals@yahoogroups.com, <dbalorenzini@yahoo.com> wrote :
I have a form called frmSupport and on the form I have 3 textboxes called, txtIssue, txtIssueDate, and txtEmployee and a command button called cmdSend.
These are bounded field to a table called tblSupport:
SupportID
Issue
IssueDate
EmpID
Resolution
When the user fills out the three fields and then clicks cmdSend, I need to send a email containing the information in these 3 fields to a specific email address...
Any ideas?
Thank you,
Art Lorenzini,
SD
Posted by: "Bill Mosca" <wrmosca@comcast.net>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (4) |
Tidak ada komentar:
Posting Komentar