Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

outlook email without warning message

Posted on 2009-07-16
8
Medium Priority
?
551 Views
Last Modified: 2013-12-18
Im using Sybase trigger to send email to clients (notification), but always i receive confirmation message (program try to send email....).
How I can stop that message?
Note I use Sybase trigger not programming language!

Thanks

ALTER PROCEDURE "amos"."send_email"(@mail_from varchar(80),@mailto varchar(80),@e_subject varchar(255),@msg long varchar) as /* @parameter_name parameter_type [= default_value] [OUTPUT], ... */
begin
  declare @rc integer
  execute @rc = xp_startmail mail_user = @mail_from
  --If successful logon to mail
  if @rc = 0
    begin
      execute @rc = xp_sendmail recipient = @mailto,subject = @e_subject,"message" = @msg
      --If mail sent successfully, stop
      if @rc = 0
        execute xp_stopmail
    end
end

Open in new window

0
Comment
Question by:Deyhim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
8 Comments
 
LVL 10

Expert Comment

by:Madjax
ID: 24867776
Hello Deyhim,
Try this,
1. Create a certificate through START > All programs > Microsoft Office > Microsoft Office Tools > Digital Certificate for VBA Projects
2. Then ALT+F11 from Outlook to bring up editor
3. Tools > Digital Certificate > Choose > (select your certificate) > Click OK twice
4. This should do it I think.
/MadJax
0
 
LVL 1

Author Comment

by:Deyhim
ID: 24867845
i dont have " Digital Certificate for VBA Projects " in my office
im using MS Office 2003
0
 
LVL 1

Author Comment

by:Deyhim
ID: 24867857
one more thing is im using MS Office 2003 but outlook 2007.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Deyhim
ID: 24868356
No Answer !!! its Urgent
0
 
LVL 10

Expert Comment

by:Madjax
ID: 24880543
Then I don't know sorry. The above has helped me when I put in macros / script into Outlook, but I use 2003
0
 
LVL 10

Accepted Solution

by:
Madjax earned 2000 total points
ID: 24880570
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Changing a few Outlook Options can help keep you organized!
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question