disgracept
Member
- Local time
- Today, 21:36
- Joined
- Jan 27, 2020
- Messages
- 45
Good morning!
I'm having a little problem...
I want to send a mail from VBA in access as part of a "forgot password" routine.
Basically i want to send a mail with a random 4 digit code to ensure that the person who is asking the pass change is the one who owns the account.
The part of the random code is easy. But don't really sure how to implement the send mail routine.
I've searched a lot but, honestly, don't think the options i found are the best to use in access 2019:
- SendObject method - Very easy but it doesn't allow html content and need an email client to be installed;
- Outlook object model - Needs outllok to be installed;
- CDO - doesn't require an email client but, as far as i saw it's deprecated and microsoft doesn't recommend using it (just like with MAPI).
So my question is what should i use in your opinion?
Is there another way to do this other than the ones i metioned?
Thanks a lot for the help!
Cheers
I'm having a little problem...
I want to send a mail from VBA in access as part of a "forgot password" routine.
Basically i want to send a mail with a random 4 digit code to ensure that the person who is asking the pass change is the one who owns the account.
The part of the random code is easy. But don't really sure how to implement the send mail routine.
I've searched a lot but, honestly, don't think the options i found are the best to use in access 2019:
- SendObject method - Very easy but it doesn't allow html content and need an email client to be installed;
- Outlook object model - Needs outllok to be installed;
- CDO - doesn't require an email client but, as far as i saw it's deprecated and microsoft doesn't recommend using it (just like with MAPI).
So my question is what should i use in your opinion?
Is there another way to do this other than the ones i metioned?
Thanks a lot for the help!
Cheers