Forum Discussion
marklbdrummer
Jan 21, 2024Copper Contributor
Sending Email
Send email problem when i display the email to check it. i click on "Send" the email doesn't appear in my inbox. Below is the code i am using Any help would be greatly appreciated. Private Su...
- Jan 21, 2024This may not be the problem, but it sure does not look good when you're mixing early binding and late binding.
Change to:
Set oApp = New Outlook.Application
Assuming oMail.To is set to your email address, it should be sent (briefly show in your outbox) when you click Send, and shortly thereafter show in your inbox. It did for me.
This assumes no spam filter intervened.
You can also Save the email while previewing it, and it should show in your Drafts folder.
Tom_van_Stiphout
Steel Contributor
oMail.To = Forms!YourForm!YourCombobox
marklbdrummer
Jan 21, 2024Copper Contributor
sorry not making sense, maybe i am not explaining it very well i have the combo box not attached to a table once i choose the name in the box i want it to look up the name in a list and put that persons email in a blank textbox from there put the information in the TO field in the email, unless you have an easier way Thabks
- Tom_van_StiphoutJan 22, 2024Steel ContributorStart a new question, and try describing your situation very clearly.
For example, if the combobox is not bound to a table, how does it get its data? I will watch from the sidelines though.- marklbdrummerJan 22, 2024Copper ContributorThanks anyway