E-mail Send Via A Form
May 12, 2005
I would like to have a button on a form, against each record that has been entered onto the form and once the button has been clicked on, an e-mail would be automatically be generated with the contents of particular fields and automatically sent to a pre designated e-mail address.
Is this possible, if so and help would be most appreciated.
Many thanks in advance
View Replies
ADVERTISEMENT
Apr 26, 2013
I have a ms access table with two fields...tablename is ..."Addresses"..
Field1:= Employee_mail_id
Field2:= Leave_balance
What I need to do is that,I need to send individual mail (in Bulk) two each employee intimating their leave balances.
Is it possible to do it in vb .I want it to assign the codes in a button.
Below iss the code.
Dim r As Recordset
Dim email As String
Set r = CurrentDb.OpenRecordset("select * from Addresses")
Do While Not r.EOF
email = email & r(2) & ";"
r.MoveNext
Loop
r.Close
DoCmd.SendObject acSendNoObject, Null, Null, email, Null, Null, "Test subject", "Message body of the test letter", False, Null
View 2 Replies
View Related
Feb 19, 2006
I send mail massage with the code
DoCmd.SendObject , , , strToField, , , strSubject, strMessage, False
and the access ask me the file attach
how can I send automateclly with no msgbox
View 3 Replies
View Related
May 13, 2005
I am trying to use the cmd.sendobject to send an e-mail to a specific e-mail address after clicking on a button on a form.
This works fine but send all the records within a form or report but I would only like to send a specific record not all of them.
The form is a continuous form.
Many thank in advance!.
View 2 Replies
View Related
Sep 20, 2006
I have been searching the forums about how to send an email using a mail merge Word document with attachments and have not found a way to accomplish this. There are numerous posts on haw to send email using the SendObject function with attachments but I really need to use a Word mail merge to satisfy the requirements set forth by my superiors.
The database uses a query to pull the list of recipients. The query contains the name, email address and a few other informational items that need to be put in mail merge. I also need to attach a second 5 page Word document. At this point, I don’t care if I have to deal with the Outlook security or not, I only have about 20 a day to send but if there is a way to get around it, that would be cool.
Would it be possible to create a Report that looks the same as the mail merge document and send it to each of the recipients from the query and attach the document to that email?
I am running up against a deadline that is fast approaching and any help would be greatly appreciated.:(
View 1 Replies
View Related
Oct 11, 2006
I've got one of my users which has just started getting the "Can't send this e-mail message" error. Found reference to it being trying to send an email without editing (MS article 884998. My editmessage is set to yes so I know it is not this exact problem but just wondering if anyone else had has this type of issue before and could they get around it?
I tried searching but with such common words it wouldn't return any results.
View 3 Replies
View Related
Aug 18, 2004
I am trying to send an MS Access 'report' as an attachment to a mail recipient in rtf format without success. Everything seems to work fine except the 'send' button. Click away and nothing happens.... no error messages, no nothing. Any suggestions or tips on how to make this work?
Thanks...
View 2 Replies
View Related
Dec 13, 2006
Could you please help me and advise if it's possible to send report from MS Access by mail - having report as a content of an e-mail instead of attachement?
View 2 Replies
View Related
Jun 23, 2006
Hi, this is probably a very easy question for you “Access-gods” out there.
I’ve made a database (MS Access 2000) with all my clients. I collect a lot of contact info, including e-mail.
I want to make a function which opens a new mail window (Outlook 2003) and automatically puts in the e-mail from my form (In the send-to field of outlook).
Is this possible? And how?
(BTW: I’m a newbie with VBA)
View 2 Replies
View Related
Feb 29, 2008
hi,
at present i have an order form. this form has a id number and supplier field . at the moment a macro runs a report which produces the order. the macro does ask me for the order number. the order number is the id number, what i would like to do is get a macro that looks at the id field and supplier field, fetch the e-mail address from the supplier table and send the order to the e-mail address
thanks
steve
View 1 Replies
View Related
Jan 20, 2006
I got the e-mail code from
http://www.access-programmers.co.uk/forums/showthread.php?t=100584
but I cant seem to implement it. into what I am trying to do. I am trying to make a form that has the names of bunch of people, then in the form I can select multiple people and send them an e-mail, and preferrable type a message that will then when I click send will transfer to outlok from which I just press send putton. well in other to have the same function as outlook express but in access.
View 6 Replies
View Related
Jun 16, 2006
Friends,
I know that this topic has appeared in one form or another throughout the Forums. However, not being a code expert, I would like some "in my case" help.
I am wanting to create a button/etc that will create an email with the following:
1. addressed to joeschmo@his-mailaddress.com (this same person will always be receiving the e-mail we want to send.)
2) The subject line should be "Database Correction Request"
3) The body should say: "Dear Joe, I am requesting that there be a change to the database for (FirstName & LastName field from the current form). LineReturn LineReturn LineReturn Thanks, Mike"
What code do I use and how can I "program" this to work when I click a button or link?
Thanks,
Mike
View 7 Replies
View Related
Aug 27, 2014
On the form: User enters first name, then last name. Upon updating the last name field, I would like another form to pop-up and display all the people with that same first name and last name that the user just entered.
On the pop-up form: All of the matching first names/last names are listed with a button control beside each record that says 'Select'. The user clicks the select button beside the record he/she wants. This pop-up form closes and all of the data from this selected record is now showing on the original form.
So far, I have a query/form that pops up only showing the matching first/last names. I'm having a hard time getting my original form to auto-populate with that record that the user selects on the pop-up.
(Also my main form is actually a sub-sub form - so in my trials I could've been massacring my syntax trying to point to it.)
View 5 Replies
View Related
Jul 10, 2005
Hi,
I'm very new to this database game and have just starting creating a customer information database. But have come across a problem already. I created a form which I've setup a field which contains customer email address, when click on it the hperlink, it trys to find a web site....
"Unable to find http://abc@abc.com. The internet site reports that the item you requested could not be found (HTTP//1.0 404)"
But what I want it to hyperlink it to is MS Outlook 2000. Can any help?
I'm using MS ACCESS 2000 & WIN PRO 2000
View 4 Replies
View Related
Mar 9, 2005
Hello everyone. This is my first post.
I need help on figuring out how to e-mail a specific record from a table through a form. What I have is a table that houses information that some of my call specialists populate as they are speaking with the customer. What I want to happen is when they hit the control button "E-mail this call" it pops up with an e-mail and asks for recipient. So far I got it to do this with entire tables/forms/queries/reports; It imports it into an excel spreadsheet and attaches it to an e-mail, which is cool. But, what I need to happen is that it only takes the specific Record that they entered and email it on.
I am pulling my hair out there trying to figure out how to do this. Any ideas?
View 5 Replies
View Related
Jul 16, 2013
I am using mail merge to add info from my database to my word document template. I want to make it the same as my form I have set up which gives me a patient name, dob, GP details as head of main form then a subform (continuous) of their medication. When I try a mail merge it comes up right but only shows one medication on each page. I want it to add all their medications to the body and have the patient info in the heading. Do-able?
View 3 Replies
View Related
May 8, 2012
I have a database for my business, which lists clients details. Within this, I have a query that runs off receipts (one customer, many receipts), as I run a private school and people pay me monthly. I use this query to run off a Mail Merge letter within Word, but it's difficult, having to close the db and open a Word document and then relink it.
Is there any way that some coding could be used within the db so that I can add a button and just print out that record into a mail merge document?
View 1 Replies
View Related
Sep 23, 2005
Please Does Anyone Know A Way To Send A Form , Like Copying Text, To Word Processor Programme Like Word For Example.is There A Programme To Do That? Thanx
View 2 Replies
View Related
Nov 3, 2005
i have a form, every post on this form is connected to a deliverer in a table, every deliverer has a faxnr.
I want to be able to push a button on a form and it will fax the form to that deliverer, how woud this be done?
Ive checked that microsoft page about send object and stuff but i dont get much and it doesnt seem to be what i want to do.
Is this thing even possible in access?
When i try a sendobject command, i get "coudnt start the mail software, check that the software works" translated from swedish.@@1@@1
View 1 Replies
View Related
Jun 18, 2013
I have a form "A" with related subform "b". In that subform i built a macro wich opens a form "B" in a new window, to put a new record.And i need to put automaticly in form "B", values selected in record from subform "b".
View 1 Replies
View Related
Dec 1, 2014
I would like to be able to place a button on my invoice form that will allow me to e-mail the individual invoice to the person being billed (the e-mail address is included on the form). I created a macro that works to send a PDF file of all of the records and I am having trouble figuring out how to send just the current record. I would also like to have the e-mail address automatically populated based on the e-mail address on the current record.
View 3 Replies
View Related
Oct 3, 2005
I'm trying to develop a form that opens when you select a tab from another form. The first form would contain Standard Instructions (from a table) and the second form would have a Memo Field for special instructions. The user wants to be able to click a check box for each standard special instruction and when they close the first form all the check standard instructions to update the special instructions memo field on the second form. I'm thinking I have to set up a loop to go thru all records when the first form is closed. Any ideas on how this would work best?
View 1 Replies
View Related
Feb 11, 2013
I have a split form that can be filtered with a combo box. It filters out all "counties" and then shortens the list for me. Now I have the following code attached to a Send E-mail button:
Code:
Dim oOutlook As Object
Dim oMail As Object
Dim strAddr As String
Dim MyDB As DAO.Database
Dim rstEMail As DAO.Recordset
[code]....
How do I have the recordset open only the filtered recordset and not the entire table?
View 1 Replies
View Related
Oct 26, 2004
I have created a form and housed in the form is a combo box that pulls info from managers I work with. I want to create a command button that I can click to send them an email. I have their information tabled and then have also converted that table into a form. I have their email address I just need to know how to properly code the command. I have no visual basic experience. I have had classes where I've coded in C++ and HTML but very limited.
Thanks
View 6 Replies
View Related
Jul 19, 2013
I am using Access 2010 and I want to be able to open a blank email addressed to the contact I am viewing in my Access form. I have been successful in creating a button which opens Outlook, but I don't know what code to put in the 'To' field of the EmailDatabaseObject page so that it picks up the email address of the contact I am looking at.
View 2 Replies
View Related
Apr 30, 2014
I have some code in a form that calls for a public function and passes on some values. the function makes some calculations and assigns a value to the variable "percent" in the function itself.
How can I get the value of this variable back in the form so I can use it?
Form:
Code:
Private Sub Form_Open(Cancel As Integer)
Dim Table As String, TotalFields As Single
Table = "tblAdmission"
[Code]....
View 5 Replies
View Related