Solved

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

Posted on 2007-11-20
11
726 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a mailbox database 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 Servers >> Data…
This Micro Tutorial demonstrates  how Internet marketers work with competitive analysis data, and a common task in data preparation is creating separate column for domains. You will then extract from a list of URLs.

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

13 Experts available now in Live!

Get 1:1 Help Now