Go back
MS Access 2003 - Email help

MS Access 2003 - Email help

General

Nicksten

Jo'Burg South Africa

Joined
20 Mar 06
Moves
73042
Clock
11 Jan 07
Vote Up
Vote Down

Hi guys

I have created a database in Access for a client of mine which captures all their credit applications. If the application is approved, a request for access codes (username and password) is send to another user using their email program.

This Access file will be installed on 5 computers and when each of them captures an application form, and the e-mail is sent, that users name will appear in the "from" field, which is what I dont want. How can I code in Access that it either uses another account (set in MS Outlook) or hardcode it in Access that it comes from another user?

This is the code that I use and it works perfectly, except for the part explained above.

Private Sub AccessCodes_Click()
DoCmd.SendObject _
acSendReport, _
"emaildisclaimer", _
acFormatTXT, _
[RequestAccessCodeEmail], _
[SalesRepEmail] & ";" & [AdminEmail], _
[SalesAdminEmail], _
[Subject_from_Language], _
[Forms]![frm_clients_addnew]![RequestAccessCode_exp], _
False
End Sub

Nicksten

Jo'Burg South Africa

Joined
20 Mar 06
Moves
73042
Clock
12 Jan 07
Vote Up
Vote Down

Is there no one that can help ? Pleeeeeease!

r
Ginger Scum

Paranoia

Joined
23 Sep 03
Moves
15902
Clock
12 Jan 07
1 edit
Vote Up
Vote Down

Originally posted by Nicksten
I have created a database in Access
That'll be the main problem.

Is it an option for you to configure each user/machines mailbox so that the email is being sent from a generic address? Would solve it away from Access.

Also - try posting in the relevant google groups - likely to get a quicker and more educated response there.

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.