Solved

outlook email without warning message

Posted on 2009-07-16
8
523 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
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: …

707 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

16 Experts available now in Live!

Get 1:1 Help Now