error while sending message through VBA script

suvagich

New member
Local time
Yesterday, 21:02
Joined
Apr 3, 2012
Messages
7
hi,
i am getting an error while sending an email using VBA script SendObject method.

error is as following :
No profile have been created.to create a profile, use Mail icon in control panel.

my script is as following:
DoCmd.SendObject acSendnoObject, _
"my email id", , , _
"message subject", , False
thnx,

moz-screenshot.jpg
moz-screenshot-1.jpg
 
It means exactly what it says. Without a mail profile to use SendObject hasn't got an email provider to send from. Either create a mail profile or use a different method such as CDO.
 

Users who are viewing this thread

Back
Top Bottom