I'm trying to do is send a temp password to the user email. It works fine but I just want to add images inside the message seems like it showing n/a image. My directory are correct, I even try using a URL image but still wont work. Please help here.
Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = 2 .Item(cdoSMTPServer) = "******" .Item(cdoSMTPServerPort) = "25" .Item(cdoSMTPConnectiontimeout) = "10" ''.Item(cdoSMTPAuthenticate) = 1 '' .Item(cdoSendUsername) = "<enter_username_here>" '' .Item(cdoSendPassword) = "<enter_password_here>" .Update End With Set cdoMessage = CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = "firstname.lastname@example.org" .To = html .Subject = "Forgotten Password" .HTMLBody = "<img src='myimage.asp'><br><br>Dear Valued Client; <p>Thank you for selecting us as your system. <br>Your Temporary password for th. </b> Your Temporary password is: <b>'"& RanPassword &"'</b><br> Please log in with the link below using the temporary passsword. Once you log in with your temporary password, you will be asked to reset your temporary password to a permanent password. <br><br><br>Please contact us if you have any quests at (000)-000-0000 Extension 00. <br><br><br>Best Regards, <br>The Application Support Team<br><br><img src='/images/MyLogo.gif'>"