Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations danielledunham on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I set the FROM address in an Access email send? 2

Status
Not open for further replies.

RikHess

MIS
Jul 25, 2002
69
US
I have a situation where I'm emailing from an Access 2000 database. I have to customize each message extensively -- even the Subject.

This works -- but now I need to change the FROM address so it shows another email (not mine) when the message is sent.

Any ideas?

Thank you,
Rik
 
I'm assuming you are using an email application like Outlook or Outlook Express. What you need to do is create and send the email directly through your SMTP server. This will allow you to completely customize your email, including the From address.
 
Thank you for what sounds like a solution to my problem. Would you mind giving me a little help on where to start getting some useful info on the SMTP server?

Google just gave me lots of vendors.

TIA!
Rik
 
I've just finished researching this topic. Here's the links I came up with:

'### SOURCES: 'Example in MailDBNeu.mdb
'### 'API Descriptions for wsock32.dll
'### 'Tony Toew's Email FAQ + Links!
'### 'Winsock Tutorials
'### -- '### - SMTP Basic Protocol
'### '### (Continued) wss/wss/_cdosys_summary_of_rfc_822.asp - RFC822
'
Particularly useful were the 3 class modules in the MailDBNeu.mdb database.

Incidentally, the security settings on our exchange server don't allow unauthenticated Email to be sent outside our own organization (and I haven't seen a way to authenticate using SMTP protocol), so you may still have problems with this method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top