![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I am using word vba to automate sending an email with a hyperlink in the body. When I added the coding to include the signature the security setting is triggered. Code is below. Is there a workaround or solution I am missing? Kind regard and many thanks PS. I apologize to anyone who replied to the post in the general section. My error. Extract of code 'Create a new mailitem Set oItem = oOutlookApp.CreateItem(olMailItem) With oItem oItem.To = "" oItem.Subject = sDsp oItem.Display oItem.HTMLBody = "a href='" & sHpl & "'" & sDsp & "/a" & oItem.HTMLBody & vbCrLf End With |
Ads |
#2
|
|||
|
|||
![]()
See http://www.outlookcode.com/article.aspx?ID=52 for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Steve Burr" wrote in message ... Hi, I am using word vba to automate sending an email with a hyperlink in the body. When I added the coding to include the signature the security setting is triggered. Code is below. Is there a workaround or solution I am missing? Kind regard and many thanks PS. I apologize to anyone who replied to the post in the general section. My error. Extract of code 'Create a new mailitem Set oItem = oOutlookApp.CreateItem(olMailItem) With oItem oItem.To = "" oItem.Subject = sDsp oItem.Display oItem.HTMLBody = "a href='" & sHpl & "'" & sDsp & "/a" & oItem.HTMLBody & vbCrLf End With |
#3
|
|||
|
|||
![]()
You mentioned the code that inserts the signature is triggering the
security prompt, could you post that portion of the code? Thx, JP On Feb 27, 7:15*pm, Steve Burr wrote: Hi, I am using word vba to automate sending an email with a hyperlink in the body. When I added the coding to include the signature the security setting is triggered. Code is below. Is there a workaround or solution I am missing? Kind regard and many thanks PS. I apologize to anyone who replied to the post in the general section. My error. Extract of code 'Create a new mailitem Set oItem = oOutlookApp.CreateItem(olMailItem) With oItem * * oItem.To = "" * * oItem.Subject = sDsp * * oItem.Display * * oItem.HTMLBody = "a href='" & sHpl & "'" & sDsp & "/a" & oItem.HTMLBody & vbCrLf End With |
#4
|
|||
|
|||
![]()
That's the Outlook security that's been around since Outlook 2000 SP2. See
http://www.outlookcode.com/article.aspx?id=52 for your options. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Steve Burr" wrote in message ... Hi, I am using word vba to automate sending an email with a hyperlink in the body. When I added the coding to include the signature the security setting is triggered. Code is below. Is there a workaround or solution I am missing? Kind regard and many thanks PS. I apologize to anyone who replied to the post in the general section. My error. Extract of code 'Create a new mailitem Set oItem = oOutlookApp.CreateItem(olMailItem) With oItem oItem.To = "" oItem.Subject = sDsp oItem.Display oItem.HTMLBody = "a href='" & sHpl & "'" & sDsp & "/a" & oItem.HTMLBody & vbCrLf End With |
#5
|
|||
|
|||
![]()
I had problems with MS Access VB when I tried to send an email through Outlook.
Fortunately, we have a SMTP server and I found a GREAT workaround at: http://www.access-programmers.co.uk/...ad.php?t=97854 I was able to copy and use (modify) the code posted by BCullenward. Now I no longer receive Outlook Security Dialogue alerts and it works super fast too. Hope that helps a little. Good Luck. "Steve Burr" wrote: Hi, I am using word vba to automate sending an email with a hyperlink in the body. When I added the coding to include the signature the security setting is triggered. Code is below. Is there a workaround or solution I am missing? Kind regard and many thanks PS. I apologize to anyone who replied to the post in the general section. My error. Extract of code 'Create a new mailitem Set oItem = oOutlookApp.CreateItem(olMailItem) With oItem oItem.To = "" oItem.Subject = sDsp oItem.Display oItem.HTMLBody = "a href='" & sHpl & "'" & sDsp & "/a" & oItem.HTMLBody & vbCrLf End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linking "Contacts" folder to query in "Access" | Bob Levin | Outlook - Using Contacts | 0 | August 15th 07 06:34 PM |
"Your Digital ID cannot be found by an underlying security system" | Maria | Outlook - General Queries | 4 | November 15th 06 04:07 PM |
"An error occurred in the underlying security system" in Outlook 2 | Del | Outlook - Installation | 0 | November 15th 06 11:35 AM |
Getting rid of "Internet Security Warning" dialog | PetrV | Outlook Express | 1 | April 9th 06 08:23 PM |
Is there a way to avoid needing to "allow" outlook security to send email? | Mr . . | Outlook - Using Forms | 1 | January 28th 06 02:18 PM |