I don't think Yahoo allows you to send emails via CDO unless you have a paid account. At least that was they told me several years ago. CDO works with Gmail and Office 365 accounts.
Fred
On Fri, Feb 7, 2020 at 8:51 AM John Weller john@johnweller.co.uk wrote:
A friend is using a program I wrote to send emails requesting a piece of information using SMTP with CDO. The program is only used twice a year. Last time it was used it was set up for his Sky account which worked fine however this time it has stopped working so he set up a Yahoo account which is not working either. Can anyone confirm the correct settings for Yahoo and SMTP please? We have tried outgoing mail server = smtp.mail.yahoo.com, port = 465 and 587, use ssl = .T., authenticate = .T. and username = 'name'@yahoo.com.
Thanks
John
John Weller
01380 723235
07976 393631
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]