• setting who an email is from (access 2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » setting who an email is from (access 2003)

    Author
    Topic
    #448545

    Is there a way to edit the code below to set who the email is from? The from in the email would be the same email address everytime. Obviuosly .from does not work. Any ideas? Thanks…

    Set objDoc = objWord.Documents.Open(“c:tempword.doc”)
    With objDoc.MailEnvelope.Item
    .To = Nz(srt, “”)
    .Subject = strSubject
    ‘.From = “something@aol.com” Set emai address
    .Send

    Viewing 0 reply threads
    Author
    Replies
    • #1097157

      This is not an Access question.

      I don’t think you can set that with MailEnvelope.

      • #1097169

        Good point Hans. I use this so much I forgot. I think you are right though..

        • #1097174

          Reposted in the VB/VBA forum. Please post all replies there; this thread is locked to avoid duplication.

    Viewing 0 reply threads
    Reply To: setting who an email is from (access 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: