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
Jan 21, 2024Iron Contributor
This 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.
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.
marklbdrummer
Jan 21, 2024Copper Contributor
Thank you Thats seems to be the answer. Would you happen to know how to create a group to email to?
- Tom_van_StiphoutJan 21, 2024Iron ContributorIn the desktop version of Outlook (note: not New Outlook): Contacts > New Contact Group.
- marklbdrummerJan 21, 2024Copper ContributorWhat i an looking for is to choose a name in a combo box and for it to put that persons email in the To field in the email
- Tom_van_StiphoutJan 21, 2024Iron ContributoroMail.To = Forms!YourForm!YourCombobox