?
Solved

outlook email without warning message

Posted on 2009-07-16
8
Medium Priority
?
546 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Suggested Courses

752 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