473,595 Members | 2,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how do u send an email using access?

DP
hi,

is there a way to send an e-mail to a customer, using ms access?? or some
kind of automated mail merge, so the user only has to review the body, and
click send?

ive got a customer table, with a field called email address, where the
customer can have an e mail address.

is there a way to make access create one, using outlook express, or anything
similar??
i just wanted to create some kind of reminder e mail, to say, please bring
yor rented film back to the store.

does any1 know of any sites, advice?

TIA

dev
Feb 18 '06 #1
17 8785
On Sat, 18 Feb 2006 17:49:55 GMT, DP wrote:
hi,

is there a way to send an e-mail to a customer, using ms access?? or some
kind of automated mail merge, so the user only has to review the body, and
click send?

ive got a customer table, with a field called email address, where the
customer can have an e mail address.

is there a way to make access create one, using outlook express, or anything
similar??
i just wanted to create some kind of reminder e mail, to say, please bring
yor rented film back to the store.

does any1 know of any sites, advice?

TIA

dev

DoCmd.SendObjec t acSendNoObject, , acFormatTXT, [EmailAddressFie ld], ,
, "Item not returned", "Please return the film you have rented." &
vbNewLine & "There is a late fee of $2.00 per day.", True

Look up the SendObject method in VBA help.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Feb 18 '06 #2
fredg wrote:
DoCmd.SendObjec t acSendNoObject, , acFormatTXT, [EmailAddressFie ld], ,
, "Item not returned", "Please return the film you have rented." &
vbNewLine & "There is a late fee of $2.00 per day.", True


One irritating thing the help file does not tell you is that sendobject
DOES NOT WORK PROPERLY with netscape as the default mail client. It is
unable to fill in the to header and unless you have the email generated
so that you can physically add it in, it won't send a blinking thing.

This problem is with Access 2003 Sp2 and Netscape 7.2.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Feb 19 '06 #3
DP
hi,

i've put the code u gave me, and it all comes out in RED writing.

the email addess field is called EMailAddress which is in an
overduefilmquer y called qryOverdueFilmR entalQuery

the code u gave me seems correct, but there is some kind of systax error or
something? if i can just get this email working, i can can add my own
fields/data in it.

thanx

dev

"fredg" <fg******@examp le.invalid> wrote in message
news:fe******** *************** *****@40tude.ne t...
On Sat, 18 Feb 2006 17:49:55 GMT, DP wrote:
hi,

is there a way to send an e-mail to a customer, using ms access?? or some kind of automated mail merge, so the user only has to review the body, and click send?

ive got a customer table, with a field called email address, where the
customer can have an e mail address.

is there a way to make access create one, using outlook express, or anything similar??
i just wanted to create some kind of reminder e mail, to say, please bring yor rented film back to the store.

does any1 know of any sites, advice?

TIA

dev

DoCmd.SendObjec t acSendNoObject, , acFormatTXT, [EmailAddressFie ld], ,
, "Item not returned", "Please return the film you have rented." &
vbNewLine & "There is a late fee of $2.00 per day.", True

Look up the SendObject method in VBA help.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

Feb 19 '06 #4
DP
hi,

this is wat ive got so far;

Private Sub cmdFilmMail_Cli ck()

DoCmd.SendObjec t _
, _
, _
, _
"To****@doe.com ", _
, _
, _
"Blockbuste r Team - You have an Overdue Film Rental", _
"Dear Sir/Madem, You have an over film rental. Pleas could you return it
to your nearest blockbuster store.", _
True
End Sub

is there a way to link the email address field, to a field in my query? as
mentioned in the post before.
also i want to do the same, with the name (after the dear bit) and state the
'FilmID' 'FilmTitle' from the metioned query, into the email message.
the above code, opens an email message, ready to send.
thanx

dev
"DP" <DP@hotmail.com > wrote in message
news:O5******** **********@news fe6-gui.ntli.net...
hi,

i've put the code u gave me, and it all comes out in RED writing.

the email addess field is called EMailAddress which is in an
overduefilmquer y called qryOverdueFilmR entalQuery

the code u gave me seems correct, but there is some kind of systax error or something? if i can just get this email working, i can can add my own
fields/data in it.

thanx

dev

"fredg" <fg******@examp le.invalid> wrote in message
news:fe******** *************** *****@40tude.ne t...
On Sat, 18 Feb 2006 17:49:55 GMT, DP wrote:
hi,

is there a way to send an e-mail to a customer, using ms access?? or some kind of automated mail merge, so the user only has to review the body, and click send?

ive got a customer table, with a field called email address, where the
customer can have an e mail address.

is there a way to make access create one, using outlook express, or anything similar??
i just wanted to create some kind of reminder e mail, to say, please bring yor rented film back to the store.

does any1 know of any sites, advice?

TIA

dev

DoCmd.SendObjec t acSendNoObject, , acFormatTXT, [EmailAddressFie ld], ,
, "Item not returned", "Please return the film you have rented." &
vbNewLine & "There is a late fee of $2.00 per day.", True

Look up the SendObject method in VBA help.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


Feb 19 '06 #5
In message <dt**********@c oranto.ucs.mun. ca>, Tim Marshall
<TI****@PurpleP andaChasers.Moe rtherium> writes
fredg wrote:
DoCmd.SendObjec t acSendNoObject, , acFormatTXT, [EmailAddressFie ld], ,
, "Item not returned", "Please return the film you have rented." &
vbNewLine & "There is a late fee of $2.00 per day.", True


One irritating thing the help file does not tell you is that sendobject
DOES NOT WORK PROPERLY with netscape as the default mail client. It is
unable to fill in the to header and unless you have the email generated
so that you can physically add it in, it won't send a blinking thing.

This problem is with Access 2003 Sp2 and Netscape 7.2.


I've seen the same problem using Access 2000 and Turnpike as the mail
client. I suspect that it may only work with Outlook.

--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author.

Feb 19 '06 #6
DP
i sorted it, it it works perfectly!! damn i'm so good!!

thanx for all the help. :)

dev

"DP" <DP@hotmail.com > wrote in message
news:Sb******** **********@news fe2-gui.ntli.net...
hi,

this is wat ive got so far;

Private Sub cmdFilmMail_Cli ck()

DoCmd.SendObjec t _
, _
, _
, _
"To****@doe.com ", _
, _
, _
"Blockbuste r Team - You have an Overdue Film Rental", _
"Dear Sir/Madem, You have an over film rental. Pleas could you return it to your nearest blockbuster store.", _
True
End Sub

is there a way to link the email address field, to a field in my query? as
mentioned in the post before.
also i want to do the same, with the name (after the dear bit) and state the 'FilmID' 'FilmTitle' from the metioned query, into the email message.
the above code, opens an email message, ready to send.
thanx

dev
"DP" <DP@hotmail.com > wrote in message
news:O5******** **********@news fe6-gui.ntli.net...
hi,

i've put the code u gave me, and it all comes out in RED writing.

the email addess field is called EMailAddress which is in an
overduefilmquer y called qryOverdueFilmR entalQuery

the code u gave me seems correct, but there is some kind of systax error

or
something? if i can just get this email working, i can can add my own
fields/data in it.

thanx

dev

"fredg" <fg******@examp le.invalid> wrote in message
news:fe******** *************** *****@40tude.ne t...
On Sat, 18 Feb 2006 17:49:55 GMT, DP wrote:

> hi,
>
> is there a way to send an e-mail to a customer, using ms access?? or
some
> kind of automated mail merge, so the user only has to review the
body, and
> click send?
>
> ive got a customer table, with a field called email address, where

the > customer can have an e mail address.
>
> is there a way to make access create one, using outlook express, or

anything
> similar??
> i just wanted to create some kind of reminder e mail, to say, please

bring
> yor rented film back to the store.
>
> does any1 know of any sites, advice?
>
> TIA
>
> dev
DoCmd.SendObjec t acSendNoObject, , acFormatTXT, [EmailAddressFie ld], ,
, "Item not returned", "Please return the film you have rented." &
vbNewLine & "There is a late fee of $2.00 per day.", True

Look up the SendObject method in VBA help.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail



Feb 19 '06 #7
In message <UZ************ *******@newsfe6-win.ntli.net>, DP
<DP@hotmail.com > writes
i sorted it, it it works perfectly!! damn i'm so good!!


How?

--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author.

Feb 20 '06 #8
DP
well it works if u have outlook express installed. i tried it on my m8s pc
today, and some msn 'passport' screen loads up, and then crashes. (Cos he
does not have outlook express)

is there anyway to check this? or to stop it from crashing?

i've got the code i'm using at the mo, if u want it?

thanx

devin
"Bernard Peek" <ba*@shrdlu.com > wrote in message
news:9Y******** ******@shrdlu.c om...
In message <UZ************ *******@newsfe6-win.ntli.net>, DP
<DP@hotmail.com > writes
i sorted it, it it works perfectly!! damn i'm so good!!


How?

--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author.

Feb 20 '06 #9
"Tim Marshall" <TI****@PurpleP andaChasers.Moe rtherium> wrote in message
news:dt******** **@coranto.ucs. mun.ca...
fredg wrote:
DoCmd.SendObjec t acSendNoObject, , acFormatTXT, [EmailAddressFie ld], ,
, "Item not returned", "Please return the film you have rented." &
vbNewLine & "There is a late fee of $2.00 per day.", True


One irritating thing the help file does not tell you is that sendobject
DOES NOT WORK PROPERLY with netscape as the default mail client. It is
unable to fill in the to header and unless you have the email generated
so that you can physically add it in, it won't send a blinking thing.

This problem is with Access 2003 Sp2 and Netscape 7.2.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me


Also, with A2K, make sure you are using SP-3. There were some SendObject
bugs that MS fixed. Unfortunately for me, I have a client that bought a huge
& expensive software package from a firm that evidently wrote it for MS
Office SR-1. They claim that their warranty voids if they load any newer
patches. Thus my client won't load SP-3 (for fear that their expensive
software might crash) and thus my little A2K emailing project won't work for
them. Instead, they've asked me to change my database to print a report and
they will fax it daily to the 10 people that need it. How silly :(
Fred Zuckerman
Feb 20 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5989
by: aish | last post by:
I want to send email using sql stored procedure.my code is work fine in my local sqlserver account. when I use my online sql server it display this error. EXECUTE permission denied on object 'sp_OACreate', database 'master', owner 'dbo'. EXECUTE permission denied on object 'sp_OASetProperty', database 'master', owner 'dbo'. EXECUTE permission denied on object 'sp_OAMethod', database 'master', owner 'dbo'. EXECUTE permission denied on...
8
25208
by: Nick Li | last post by:
Hi, I am trying to writing a c program to send email using system() function call on Unix(Sun Solaris). I tried the following: #include <stdio.h> #include <stdio.h> int main(void) {
11
6513
by: Mohammed Abdel-Razzak | last post by:
dear sirs i want to send email using c# but i don`t want to use CDONTS or tell me how can i use it i don`t know any thing about CDONTS thanks
9
4298
by: Bob Jones | last post by:
We have developed a commercial ASP.net application (personal nutrition management and tracking); we want to send smtp email from within it. For our development box, we use WinXP Pro, IIS 5.5, VisualStudio2002, VB as programing language. Our test/development version of the web app as hosted on our "localhost" works fine; our "Default SMTP Virtual Server" is running (per the IIS console).
1
5951
by: Mr T | last post by:
I know how to send email from Access and I know how to create a custom form in Outlook. but.... How do I put the email info from Access into the Outlook custom form ??? Dim MyDB As Database Dim MyRS As Recordset Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment
0
1818
by: padmanabhanp | last post by:
Hai, How to send email using jsp
2
3093
usafshah
by: usafshah | last post by:
How can i send email using php through SMTP server ?
0
1255
by: thinkwebs | last post by:
hi guys Just i am trying to send email using syste.web.mail in ASP.Net just i have send mail successfully in the web but i can't send mail with attachment in the web. But my coding works properly in the local host. Now how can i rectify it.
0
8262
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8020
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8252
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6675
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5839
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3875
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2391
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1491
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.