Hi Guys,
Need help to sent mails using code.i have a table containing 2 fields 1.Name,2.Email ID.and an another table(Data to be attached).
But this will shows the Outlook.I dont want to show Outlook and sent mailing process should be in background...
Please help me...
thanks in adv.
Need help to sent mails using code.i have a table containing 2 fields 1.Name,2.Email ID.and an another table(Data to be attached).
Code:
Private Sub Command0_Click() On Error GoTo Err_Command0_Click DoCmd.SendObject acTable, "Table1", "MicrosoftExcelBiff5(*.xls)", "sentname@aaa.com", "", "", "trail", "", False, "" Exit_Command0_Click: Exit Sub Err_Command0_Click: MsgBox Err.Description Resume Exit_Command0_Click End Sub
Please help me...
thanks in adv.
Comment