If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
send email
How do you send email in the coding?
|
#2
|
|||
|
|||
send email
-Obama,
here is an example that emails an error log back to me DoCmd.SendObject acReport, "rptErrorLog", "SnapshotFormat(*.snp)", "MyEmailAddress", , , "Log from MyApp", "Log sent on " & Date, False Jeanette Cunningham " -Obama" wrote in message ... How do you send email in the coding? |
#3
|
|||
|
|||
send email
How an access code in Module? Thanks.
"Jeanette Cunningham" wrote in message ... -Obama, here is an example that emails an error log back to me DoCmd.SendObject acReport, "rptErrorLog", "SnapshotFormat(*.snp)", "MyEmailAddress", , , "Log from MyApp", "Log sent on " & Date, False Jeanette Cunningham " -Obama" wrote in message ... How do you send email in the coding? |
#4
|
|||
|
|||
send email
This is access code from a module that goes with a form.
Jeanette Cunningham " -Obama" wrote in message ... How an access code in Module? Thanks. "Jeanette Cunningham" wrote in message ... -Obama, here is an example that emails an error log back to me DoCmd.SendObject acReport, "rptErrorLog", "SnapshotFormat(*.snp)", "MyEmailAddress", , , "Log from MyApp", "Log sent on " & Date, False Jeanette Cunningham " -Obama" wrote in message ... How do you send email in the coding? |
#5
|
|||
|
|||
send email
docmd.SendObject(acSendNoObject,,acFormatTXT,
",,,"testing","testing"," "," ") I tried to run the above code in debug window window. It gives me an error: Compiled Error: Expected:= Can you please help? Thanks. "Jeanette Cunningham" wrote in message ... This is access code from a module that goes with a form. Jeanette Cunningham " -Obama" wrote in message ... How an access code in Module? Thanks. "Jeanette Cunningham" wrote in message ... -Obama, here is an example that emails an error log back to me DoCmd.SendObject acReport, "rptErrorLog", "SnapshotFormat(*.snp)", "MyEmailAddress", , , "Log from MyApp", "Log sent on " & Date, False Jeanette Cunningham " -Obama" wrote in message ... How do you send email in the coding? |
#6
|
|||
|
|||
send email
Hi Obama,
Is there a reason why you need to code this? If all your looking to do is pull up a blank email when you click a button on your form, just use a macro. It will take you a few minutes to create with no errors because Access is doing all the coding. If fact after you complete and install it to your button, you can convert it to VBA Code to see what it looks(but do it on a test or copy database). "-Obama" wrote: docmd.SendObject(acSendNoObject,,acFormatTXT, ",,,"testing","testing"," "," ") I tried to run the above code in debug window window. It gives me an error: Compiled Error: Expected:= Can you please help? Thanks. "Jeanette Cunningham" wrote in message ... This is access code from a module that goes with a form. Jeanette Cunningham " -Obama" wrote in message ... How an access code in Module? Thanks. "Jeanette Cunningham" wrote in message ... -Obama, here is an example that emails an error log back to me DoCmd.SendObject acReport, "rptErrorLog", "SnapshotFormat(*.snp)", "MyEmailAddress", , , "Log from MyApp", "Log sent on " & Date, False Jeanette Cunningham " -Obama" wrote in message ... How do you send email in the coding? |
#7
|
|||
|
|||
send email
I want to create and send email based on certain condition met. Therefore I need to use access code. I am not sure if your method works for my situation. Please help. Thanks. "Stockwell43" wrote in message ... Hi Obama, Is there a reason why you need to code this? If all your looking to do is pull up a blank email when you click a button on your form, just use a macro. It will take you a few minutes to create with no errors because Access is doing all the coding. If fact after you complete and install it to your button, you can convert it to VBA Code to see what it looks(but do it on a test or copy database). "-Obama" wrote: docmd.SendObject(acSendNoObject,,acFormatTXT, ",,,"testing","testing"," "," ") I tried to run the above code in debug window window. It gives me an error: Compiled Error: Expected:= Can you please help? Thanks. "Jeanette Cunningham" wrote in message ... This is access code from a module that goes with a form. Jeanette Cunningham " -Obama" wrote in message ... How an access code in Module? Thanks. "Jeanette Cunningham" wrote in message ... -Obama, here is an example that emails an error log back to me DoCmd.SendObject acReport, "rptErrorLog", "SnapshotFormat(*.snp)", "MyEmailAddress", , , "Log from MyApp", "Log sent on " & Date, False Jeanette Cunningham " -Obama" wrote in message ... How do you send email in the coding? |
#8
|
|||
|
|||
send email
It would help us if you posted the code you have already that checks for the
conditions. Jeanette Cunningham " -Obama" wrote in message ... I want to create and send email based on certain condition met. Therefore I need to use access code. I am not sure if your method works for my situation. Please help. Thanks. "Stockwell43" wrote in message ... Hi Obama, Is there a reason why you need to code this? If all your looking to do is pull up a blank email when you click a button on your form, just use a macro. It will take you a few minutes to create with no errors because Access is doing all the coding. If fact after you complete and install it to your button, you can convert it to VBA Code to see what it looks(but do it on a test or copy database). "-Obama" wrote: docmd.SendObject(acSendNoObject,,acFormatTXT, ",,,"testing","testing"," "," ") I tried to run the above code in debug window window. It gives me an error: Compiled Error: Expected:= Can you please help? Thanks. "Jeanette Cunningham" wrote in message ... This is access code from a module that goes with a form. Jeanette Cunningham " -Obama" wrote in message ... How an access code in Module? Thanks. "Jeanette Cunningham" wrote in message ... -Obama, here is an example that emails an error log back to me DoCmd.SendObject acReport, "rptErrorLog", "SnapshotFormat(*.snp)", "MyEmailAddress", , , "Log from MyApp", "Log sent on " & Date, False Jeanette Cunningham " -Obama" wrote in message ... How do you send email in the coding? |
Thread Tools | |
Display Modes | |
|
|