Solved

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

Posted on 2007-11-20
11
727 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
 

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
The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video discusses moving either the default database or any database to a new volume.

910 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