I am trying to use SendObject to send email from Access 2000, using Netscape 7.1. I have the following code:
'****begin code****
Private Sub SENDEMAIL_Click()
Dim ORIGIN, DESTINATION, SENDTO, SUBJECT, MESSAGE As String
ORIGIN = "ebay2628@yahoo.com"
DESTINATION = [EMAIL ADDRESS]
SENDTO = [EMAIL ADDRESS]
SUBJECT = "Your item has been shipped."
MESSAGE = "We have shipped your item. The tracking number is " & [TRACKING NUMBER] & "."
DoCmd.SendObject acSendForm, , acFormatTXT, SENDTO, , , SUBJECT, MESSAGE, True
End Sub
'*****end code********
What happens is I get a window to send a new message in Netscape, and the SUBJECT and body (MESSAGE) are populated correctly, but not the send to email address (SENDTO). The From field in the email is defaulting to the settings in Netscape, which I can live with. I was hoping to use the "ebay2628" email address, so the user could reply to that address, no matter which email account I use, but if that cant be done, it wouldn't be an issue. Any help would be appreciated. I posted this question in another forum with no success.
'****begin code****
Private Sub SENDEMAIL_Click()
Dim ORIGIN, DESTINATION, SENDTO, SUBJECT, MESSAGE As String
ORIGIN = "ebay2628@yahoo.com"
DESTINATION = [EMAIL ADDRESS]
SENDTO = [EMAIL ADDRESS]
SUBJECT = "Your item has been shipped."
MESSAGE = "We have shipped your item. The tracking number is " & [TRACKING NUMBER] & "."
DoCmd.SendObject acSendForm, , acFormatTXT, SENDTO, , , SUBJECT, MESSAGE, True
End Sub
'*****end code********
What happens is I get a window to send a new message in Netscape, and the SUBJECT and body (MESSAGE) are populated correctly, but not the send to email address (SENDTO). The From field in the email is defaulting to the settings in Netscape, which I can live with. I was hoping to use the "ebay2628" email address, so the user could reply to that address, no matter which email account I use, but if that cant be done, it wouldn't be an issue. Any help would be appreciated. I posted this question in another forum with no success.