Results 1 to 2 of 2
  1. #1
    Hello World is offline Novice
    Windows XP Access 2002
    Join Date
    Sep 2011
    Posts
    13

    SendObject - HTML tags in 'To' field

    Solved it - I was inputting the email address as a hyperlink.





    Howdy!

    I am using the SendObject feature to email a report in Text format from a Form. The report is based on a query. The code which I am successfully using is this:

    Code:
     Private Sub Email_Click()
    DoCmd.SendObject acSendReport, "EmailReport", acFormatTXT, Me!Managers_email, , , "ACTION REQ. Employee Terms and Conditions", "The following employee has blah blah blah...", True
    End Sub
    When executed the above creates the email but in the 'To' box the email address appears as this:

    john.doe@here.gov.uk#<a href="http:/...ere.gov.uk</a>#

    Any know why it is inserting these HTML tags?
    Last edited by Hello World; 10-04-2011 at 04:28 AM. Reason: Solved

  2. #2
    Stingaway is offline Efficiency Junkie
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    The deep south. Keep going until you hit water basically.
    Posts
    224
    Love it when the post is answered by the person who posts it. Thanks for following up!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Tags to filter
    By SwaziMan in forum Access
    Replies: 1
    Last Post: 07-04-2011, 11:29 AM
  2. Replies: 0
    Last Post: 05-23-2010, 10:39 PM
  3. HTML tags in memo field
    By sprovoyeur in forum Access
    Replies: 0
    Last Post: 05-11-2010, 01:33 PM
  4. Replies: 3
    Last Post: 05-06-2010, 03:26 PM
  5. tags and words in a row
    By bimfire in forum Access
    Replies: 0
    Last Post: 11-07-2007, 10:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums