 |
BOOK: Access 2010 VBA Programmer's Reference
 | This is the forum to discuss the Wrox book Access 2010 Programmer's Reference by Teresa Hennig, Rob Cooper, Geoffrey L. Griffith, Jerry Dennison; ISBN: 978-0-470-59166-6 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Access 2010 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

June 22nd, 2012, 09:49 AM
|
|
Authorized User
|
|
Join Date: Oct 2010
Posts: 64
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Hi,
Maybe you should develop this part when you are using a computer with Outlook installed on the organisation's network then. Otherwise use SendObject, this will send the email to the recipient using MAPI. This will work on any computer that has a valid MAPI client installed and configured. It's just like sending an email from an email program such as Outlook, Thunderbird, etc. the email will go to the recipient over the Internet if required. Local email addresses i.e. co-workers if using Exchange Server will stay within the LAN.
I may be getting confused whether you actually have Outlook installed on your "remote" computer. If so, then it just needs configured to an email account be it POP, IMAP or Exchange etc. and the email will be sent via the default account.
Personally, if you are just sending a simple email then I'd use SendObject. Using Automation as the example shows is ideal if you wish to manipulate the mail item, e.g. set priority, request a read receipt etc. etc.
HTH.
Malc.
|
|

June 22nd, 2012, 09:54 AM
|
|
Authorized User
|
|
Join Date: Oct 2010
Posts: 64
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Hi,
You posted again before I replied.
You need to configure an email account on Outlook in order for it to be able to send an email. Do you have a gmail or hotmail account?
If you are using a public computer then I doubt you'll be able to do this! Well you could set it up, do your testing then delete the account settings.
I can talk you through setting up a gmail account as I have one of those plus a few other IMAP accounts set up on my Outlook.
Malc.
|
|

June 22nd, 2012, 10:29 AM
|
|
Authorized User
|
|
Join Date: Jun 2006
Posts: 73
Thanks: 1
Thanked 1 Time in 1 Post
|
|
That's most helpful. Could you do that ? They don't have OUTLOOK here ( it's a library ... ).
|
|

June 22nd, 2012, 11:06 AM
|
|
Authorized User
|
|
Join Date: Oct 2010
Posts: 64
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Hi,
If Outlook is not installed on those library computers it's pointless me telling you how to set up an Outlook account then? Do you have Outlook at home?
Try going into Control Panel | Mail to see if you can set up an email account. We need an email program on this public computer so that you can set up an email account.
So, do you have a GMail email address already? OR do you know what your personal email mailbox settings are? Who's your email provider?
Malc.
|
|

June 22nd, 2012, 02:36 PM
|
|
Authorized User
|
|
Join Date: Jun 2006
Posts: 73
Thanks: 1
Thanked 1 Time in 1 Post
|
|
My apologies if this seems a bit 'amateurish', but my organisation is a charity, and are very tight with their money. I believe I can create an e-mail account on the library computer, is there any particular provider I should use ? Is G-Mail, a google service ?
|
|

June 22nd, 2012, 03:00 PM
|
|
Authorized User
|
|
Join Date: Oct 2010
Posts: 64
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Hi,
Don't apologise at all and I understand the financial constraints of a charitable organisation, even businesses have to be "tight" these days!
Yes, GMail is a Google service. I'd suggest that you create an account at gmail.com then set up the email account on the computer using IMAP protocol. The page should help:
http://support.google.com/mail/bin/a...n&answer=78799.
Get back in touch if you need any further assistance.
Malc.
|
|
 |
|