Solved

How do l procced this programming without ms outlook prompt this message?

Posted on 2007-11-20
11
730 Views
Last Modified: 2008-09-10
l have programming in Powe Builder to send e-mail automatically In the application server. l has used microsoft outlook 2003. And to auto run my program l used software Solway's Task Schedular.
Ms outlook 2003 prompt 1 message before sending the email " A program is trying to automatically send e-mail on your behalf. Do you want to allow this? " and l must click button Yes and then the e-mail sending.
What must l do to stop this message alert and the email auto sending without prompt this message.
0
Comment
Question by:firza
  • 5
  • 5
11 Comments
 
LVL 23

Accepted Solution

by:
Malli Boppe earned 105 total points
ID: 20325851
You can use click yes program to stop prompting for yes
http://www.contextmagic.com/express-clickyes/
0
 

Author Comment

by:firza
ID: 20325878
actually l already install Clickyes software on server application.
but when l suprise why  the clickyes software not auto run. if l log -in the server then the clickyes software execute the function.  
0
 
LVL 23

Assisted Solution

by:Malli Boppe
Malli Boppe earned 105 total points
ID: 20325928
You need to use ClickYes Pro
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:firza
ID: 20325947
why l cannot used expressClickYes software coz this solftware also suport outlook 2003
0
 
LVL 23

Assisted Solution

by:Malli Boppe
Malli Boppe earned 105 total points
ID: 20325951
Look at the link that I sent to your .It compares pro and express tells what each one can do
0
 

Author Comment

by:firza
ID: 20325959
is there any solution withour used ClickYes software?
0
 
LVL 23

Assisted Solution

by:Malli Boppe
Malli Boppe earned 105 total points
ID: 20325976
0
 

Author Comment

by:firza
ID: 20326130
l used power bulder in my programming.
due your code it that suitable for powerbuilder scripting?
mailsession lms_MAPISession
mailmessage lmm_Message
mailFileDescription mAttach
 
//string ls_email,ls_itadmin , ls_reminder
 
lms_MAPISession = CREATE mailsession
 
IF lms_MAPISession.MailLogon() = MailReturnSuccess! THEN
	// Mail Sesion is ok so Populate the Message
		
 
lmm_Message.Subject =  "Site Status - Asset No. : "  + is_assetno + "."
lmm_Message.NoteText = "Dear Sir / Madam," + "~r~n~r~n" + "Please be informed that the site investigation has been done for the following asset and the result is as follow : " + "~r~n~r~n" + "Status : COMPLETED " + "." + "~r~n~r~n" + "Asset No. : " + is_assetno + "." + "~r~n~r~n" + "Track No. : " + is_trackno + "." + "~r~n~r~n" + "DSS Reference No :" + is_iwkref + "." &
  + "~r~n~r~n" + "Takeover System Address for HQ user : http://iwkappeon:9988/takeover" + "~r~n~r~n" + "Takeover System Address for Unit Office user : http://172.20.3.33:9988/takeover" + "~r~n~r~n" + "IMPORTANT : DO NOT REPLY/FORWARD THIS EMAIL TO (TAKEOVER) EMAIL ADDRESS."
		
if isnull(is_emailtodss)=false and is_emailtodss<>"" then
        lmm_message.recipient[1].recipienttype=mailTo!
        lmm_Message.Recipient[1].Name = is_emailtodss
else
        lmm_message.recipient[1].recipienttype=mailTo!
        lmm_Message.Recipient[1].Name="takeover@iwk.com.my"
end if
							
lmm_message.recipient[2].recipienttype=mailCC!
lmm_Message.Recipient[2].Name = is_emailtoccdss
			
lmm_message.recipient[3].recipienttype=mailCC!
lmm_message.Recipient[3].Name = is_emailccuom
			
lmm_message.recipient[4].recipienttype=mailCC!
lmm_message.Recipient[4].Name = is_emailcccrd
				
lmm_message.recipient[5].recipienttype=mailCC!
lmm_message.Recipient[5].Name = "takeover@iwk.com.my"
			
IF lms_MAPISession.MailSend( lmm_Message ) = MailReturnSuccess! THEN
//	  Messagebox( 'Mail', 'Message was sent.' )
//update status in takeover_doc to 'Y'
	UPDATE EMAILTAKEOVER SET SENDSTATUS='Y' WHERE ID=:ii_id USING SQLCA;
			
	if sqlca.sqlcode=-1 then
	    rollback using SQLCA;
	else
            commit using SQLCA;
	end if
			
Else		  
//	  Messagebox( 'Mail', 'Sending mail failed.' )
END IF
	
lms_MAPISession.MailLogoff()
END IF
 
DESTROY lms_MAPISession

Open in new window

0
 
LVL 23

Assisted Solution

by:Malli Boppe
Malli Boppe earned 105 total points
ID: 20331393
The scipts that I provided are VB scripts so I don't think you can use them in your case.
0
 

Author Comment

by:firza
ID: 20332044
it have a script in Power Builder?
0
 

Assisted Solution

by:johnelly
johnelly earned 20 total points
ID: 20410037
Look at this Winsock powerbuilder example called EmailSMTP at www.topwizprogramming.com/freecode_emailsmtp.html 

It works directly via Winsock and so you don't get the pop ups
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
In-place Upgrading Dirsync to Azure AD Connect
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 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