Solved

outlook email without warning message

Posted on 2009-07-16
8
526 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
  • 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
Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 
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 500 total points
ID: 24880570
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this video we show how to create a Distribution Group 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 Recipients >>…

914 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now