how to email with vba from a form using cbo and list box selection (1 Viewer)

ryprobg

Member
Local time
Today, 17:30
Joined
Sep 3, 2022
Messages
59
hello programmers
i have a mini form used to send emails to two person ( nom_hc) listed in (resp_acc) with emails ( email_hc)
in the form the user should select in cbo1 person1 and in the cbo2 person 2 and he will get emails in two listboxes below and record it in t_dci table source of the form.
the target is send email to those persons selected in the form
to : email1 & email2
subjet :""
body : ""
in the atachements db ..thank you for help
login : admin
pass : 1234
 

Attachments

  • prob3 db.accdb
    2 MB · Views: 84

theDBguy

I’m here to help
Staff member
Local time
Today, 09:30
Joined
Oct 29, 2018
Messages
21,496
Just FYI to other members, this topic is related to this one:
and also this one:
To the OP @ryprobg, there really is no need to post duplicate questions or threads. If you don't understand any of the suggestions given to you, you could ask for clarifications.
 

ryprobg

Member
Local time
Today, 17:30
Joined
Sep 3, 2022
Messages
59
there is a differnce betwen the two db
 

theDBguy

I’m here to help
Staff member
Local time
Today, 09:30
Joined
Oct 29, 2018
Messages
21,496
there is a differnce betwen the two db
Okay, I just downloaded you "new" file. You removed Query1 from it, even though I told you it's part of the solution to your problem.

I really think all three of your threads are about the same issue, so I am tempted to combine all of them.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 09:30
Joined
Oct 29, 2018
Messages
21,496
there is a differnce betwen the two db
Here, I've added Query1 back for you. You should be able to use it to send out your email.
 

Attachments

  • prob3 db.zip
    301.2 KB · Views: 102
Last edited:

Users who are viewing this thread

Top Bottom