RPTARQEMAIL is sending e-mails 2 times
We are starting RPTARQEMAIL and the other needed programs with a job every 15 minutes. The last month everything works fine. Since about 1 month every mail is sending 2 times.
1. The job runs the first time and RPTARQEMAIL is selecting the right requests to the right period. The RPTARQEMAIL reads the table PTREQ_BATCH perfect and is setting the PTREQ_BATCH perfect. The e-mails will be send.
2. When the job runs a second time RPTARQEMAIL read the requests again. The form is starting with the right period, but the answer includes the requests of the last job. The e-mails for a old request will be send a second time.
3. With the next job the requests from the first job are not more selected.
Thanks for help.
Hi SDN colleagues,
I know that this post is quite old and marked as "Assumed answered", but since so far no solution was posted, and after dealing with a similar issue for a long time, I figured I'd post my solution for future reference:
we experienced the same problem at a customer system: about 3/4 of the mails sent through RPTARQMAIL and RPTCORMAIL (mostly those to the requestor) were sent twice, on two successive program runs. Our POST and MAIL programs were initially scheduled to run every 15 minutes, as two sequential steps on the same job, but even a change to 1 hour did not solve the problem.
After a while we noticed a certain pattern: requests with doubled mails were those which change to Status Posted (as visible in transaction PTCOR/PTARQ) occurred at the exact time that was marked as "Last run" of the email program on table PTREQ_BATCH. This meant that the items were valid for two successive intervals, thus the doubled mails.
To solve the issue we separated the POST and MAIL steps in two different jobs that run with a time lag of a couple of minutes. Worked like a charm!
Similar Messages
-
How many mails i can send at a time per day using APEX mail system?
HI,
I am working on application, when i have written a process to send mail, i have a project where i have to send mail at a time for all the email id's
given list there are upto 5000 email id's where text body also include certain set of data from a report. thinking at a time 3000 its difficult i divided
it region wise, but still each region have 2000 odd email id's. during testing when i run the process just 950 mails i could send then i got a error
saying "ORA-20001: You have exceeded the maximum number of email messages per workspace. Please contact your administrator." so please
can any one help me to know How many mails i can send at a time per day using APEX mail system?
Thanks in advance
GowthamiHi jfosteroracle,
You are getting the error may be the following reason,
Check the following,
Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
It may be the reason.
Thank you.
Regards,
Gurujothi
Edited by: Gurujothi on Jun 27, 2012 5:54 AM -
"This message cannot be sent at this time." I have been getting this pop-up for 3 days when trying to send out mail. I don't know what to do! I cannot send mail from this account on any ISP. Please help!
lots of people seem to be havgin a problem sending email from iCloud webmail.
does your email address have uppercase characters in it?
if so, try creating an alias in lowercase (go to preferences in iCloud webmail and select 'accounts') and see if email sends okay from that -
How To setting when print billing and send E-mail in same time
Dear gurus,
I need your help.
Now, I want to print Billing Doc from VF03 and when i click print the billing document will be save in my computer (in PDF format) and also send e-mail (and attached PDF file) in one time
I design that email address will come from customize table that will use Payer and sold to party as key to file email.
Then, I design to
1. Create New Output Type
2. Create Customize Table to find email
But I want to know what I must do when I create new output type and how to call email address from customize table.
Edited by: krittapong uaamporn on Jun 26, 2008 11:39 AMHi
Refer my solution in following tag
Billing document to customer email ID
Award if useful.
Vijay -
Need to send a mail when job window time is over
Hi ,
select * from v$version;
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
========
I have created a job using dbms_scheduler.create_job with a 1 hour window ( created using dbms_scheduler.create_window ) .
My job triggers a stored procedure . Now I have a send_mail code at the end of the stored procedure which sends a mail with plsql log as an attachment . When my job runs more than 1 hour the stored proc is getting stopped and not triggering the mail though I put the same code in exception block ( exception when others ) .
CREATE OR REPLACE PROCEDURE my_sp
AS
BEGIN
-- some code ---
begin
-- send mail --
end
EXCEPTION
WHEN OTHERS
THEN
send mail ( Can I get this piece when window time is over )
END;
Is there any other way I can run the last piece of the proc (send_mail) .
Thanks ,
MaheshMahesh wrote:
Folllowing below note .
http://download.oracle.com/docs/cd/E14072_01/server.112/e10595/scheduse008.htm
but need to attach a file .
SQL> desc utl_mail
PROCEDURE SEND
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_RAW
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT RAW IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_VARCHAR2
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT VARCHAR2 IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT -
Why is it, every time I click send e-mail for instructions on resetting my security questions, I don't get them? I just want to play minecraft. I already put $15 in my balance and I can't even spend it. Thank you for taking the time to read this.
Either they're being sent to a different email address, or got caught in a spam filter, or something's wrong at Apple's end. If you can't find the email, you need to ask Apple to reset your security questions, which can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
(105723) -
Hi,
I am a newbie in SP2013. I have a task to crate a Timer Job that send e-mail to specific people and in specific time. My situation: there is list "Task for developer" with only 2 field "Developer" - people or group field and "Date"
- date field. Time Job should check current date and date from "Date" and if it current data = "Date" the message to people from "Developer" should be send.
I have never worked with Timer Job. As I uderstand TJ it include some steps:
1) Connect to my site
2) Get my list "Task for developer"
3) Get all item from list
4) Check the field "Date" of all items
5) If current data and "Date" are equal to get all people from "Developer" and formed message.
If I correctly understand help me please to realise it in VS C#.
P.S. Workflow doesn't offer :)
Tank you for any reply :)This has been asked before if you googled it or used search
Take a look
here
Also
here
If this is helpful please mark it so. Also if this solved your problem mark as answer. -
How to send e-mail to many user one time
I would like to send e-mail BCC to hundred people using one e-mail only
How to I set the code to BCC? I don't want to make a for loop to send the e-mail hundred times.
I know the following code can set the mail BCC to ohter person
msg.setRecipient(Message.RecipientType.BCC,email);
but if I want to BCC to hundred people, how should I revise the code ?javax.mail
Class Message
public void addRecipient(Message.RecipientType type, Address address)
throws MessagingException -
Send a mail to the vendor at the time of approval with the attachment of PO
Hi all,
I want to send a mail to the vendor at the time of approval by attaching the pdf of that particular PO.
How can I achieve this?
I know the User Exit where the code should be written.
But I want the solution for attaching the PDF of PO at the time of approval.
Please help me in this regard.
Edited by: vinil kumar aturi on Mar 16, 2009 7:52 AMHi,
Try Following Code to Send mail as PDF Attachment
In this
Smart form Name : ZSMART_MM_003
This will send mail to EMAIL ADDRESS SPECIFIED IN VENDOR MASTER FK03
This code is written for ME23n so we used nast-objky(10) for purchase order no you may replace it with your purchase order no
and smart form name with your smart form name
*-- Send Mail---
*-- Function Module Call to get Customer Address (Email)--
DATA: VENDOR TYPE ELIFN,
ADDRNO TYPE ADRNR.
DATA: atab-mail TYPE STRING.
SELECT SINGLE LIFNR FROM EKKO INTO VENDOR WHERE EBELN = nast-objky(10).
SELECT SINGLE ADRNR FROM LFA1 INTO ADDRNO WHERE LIFNR = VENDOR.
TYPE-POOLS: szadr.
DATA adr_kompl TYPE szadr_addr1_complete.
DATA adr1 TYPE szadr_addr1_line.
DATA adtel TYPE szadr_adtel_line.
DATA admail TYPE szadr_adsmtp_line.
DATA adfax TYPE szadr_adfax_line.
CALL FUNCTION 'ADDR_GET_COMPLETE'
EXPORTING
addrnumber = ADDRNO
IMPORTING
addr1_complete = adr_kompl
EXCEPTIONS
parameter_error = 1
address_not_exist = 2
internal_error = 3
wrong_access_to_archive = 4
OTHERS = 5.
Mail
LOOP AT adr_kompl-adsmtp_tab INTO admail.
MOVE admail-adsmtp-smtp_addr TO atab-mail.
ENDLOOP.
if sy-subrc = 0.
DATA: FILENAME TYPE STRING.
CONCATENATE 'PurchaseOrder' nast-objky INTO FILENAME SEPARATED BY '-'.
DATA: MESSAGELINE1 TYPE STRING,
MESSAGELINE2 TYPE STRING.
CONCATENATE 'Do you want to send ' FILENAME ' through E-mail to' into MESSAGELINE1.
CONCATENATE atab-mail '?' into MESSAGELINE2.
data: answer TYPE c.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
defaultoption = 'N'
textline1 = MESSAGELINE1
textline2 = MESSAGELINE2
titel = ' '
start_column = 35
start_row = 10
IMPORTING
answer = answer.
IF answer EQ 'J' OR answer EQ 'Y'.
Code to find Contact person
DATA: CONTACT TYPE EVERK.
SELECT SINGLE VERKF FROM EKKO INTO CONTACT WHERE EBELN = nast-objky(10).
Internal Table declarations
DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
WA_OBJHEAD TYPE SOLI_TAB,
W_CTRLOP TYPE SSFCTRLOP,
W_COMPOP TYPE SSFCOMPOP,
W_RETURN TYPE SSFCRESCL,
WA_DOC_CHNG TYPE SODOCCHGI1,
W_DATA TYPE SODOCCHGI1,
WA_BUFFER TYPE STRING, "To convert from 132 to 255
Variables declarations
V_FORM_NAME TYPE RS38L_FNAM,
V_LEN_IN LIKE SOOD-OBJLEN,
V_LEN_OUT LIKE SOOD-OBJLEN,
V_LEN_OUTN TYPE I,
V_LINES_TXT TYPE I,
V_LINES_BIN TYPE I.
DATA : s_control_parameters TYPE ssfctrlop,
s_output_options TYPE ssfcompop.
s_control_parameters-getotf = 'X'.
s_control_parameters-no_dialog = 'X'.
s_control_parameters-preview = 'X'.
s_output_options-tdnoprint = 'X'.
s_output_options-tdimmed = ''.
s_output_options-tddest = 'LP01'. "Spool: Output device
s_output_options-tdreceiver = sy-uname.
s_output_options-tdcover = ''.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSMART_MM_003'
IMPORTING
FM_NAME = V_FORM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
W_CTRLOP-GETOTF = 'X'.
W_CTRLOP-NO_DIALOG = 'X'.
W_COMPOP-TDNOPREV = 'X'.
CALL FUNCTION V_FORM_NAME
EXPORTING
CONTROL_PARAMETERS = s_control_parameters
OUTPUT_OPTIONS = s_output_options
USER_SETTINGS = ''
nast = nast
WA_ADDRESS = WA_ADDRESS
IMPORTING
JOB_OUTPUT_INFO = W_RETURN
TABLES
addtel = it_addtel
addsmtp = it_addsmtp
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Convert SMartform to pdf
I_OTF[] = W_RETURN-OTFDATA[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = V_LEN_IN
TABLES
OTF = I_OTF
LINES = I_TLINE
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
LOOP AT I_TLINE.
TRANSLATE I_TLINE USING '~'.
CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
ENDLOOP.
TRANSLATE WA_BUFFER USING '~'.
DO.
I_RECORD = WA_BUFFER.
APPEND I_RECORD.
SHIFT WA_BUFFER LEFT BY 255 PLACES.
IF WA_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH: I_RECLIST,
I_OBJTXT,
I_OBJBIN,
I_OBJPACK.
CLEAR WA_OBJHEAD.
I_OBJBIN[] = I_RECORD[].
Create Message Body Title and Description
I_OBJTXT = 'Sir, '.
APPEND I_OBJTXT.
I_OBJTXT = ''.
APPEND I_OBJTXT.
I_OBJTXT = 'Please Find Attached '.
APPEND I_OBJTXT.
I_OBJTXT = FILENAME.
APPEND I_OBJTXT.
I_OBJTXT = 'For your reference'.
APPEND I_OBJTXT.
I_OBJTXT = ''.
APPEND I_OBJTXT.
I_OBJTXT = 'Regards'.
APPEND I_OBJTXT.
I_OBJTXT = CONTACT.
APPEND I_OBJTXT.
*Mail Subject
DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
READ TABLE I_OBJTXT INDEX V_LINES_TXT.
WA_DOC_CHNG-OBJ_NAME = 'Purchase Order'.
WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
WA_DOC_CHNG-OBJ_DESCR = 'Purchase Order'.
WA_DOC_CHNG-SENSITIVTY = 'F'.
WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
Main Text
CLEAR I_OBJPACK-TRANSF_BIN.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
I_OBJPACK-BODY_NUM = V_LINES_TXT.
I_OBJPACK-DOC_TYPE = 'RAW'.
APPEND I_OBJPACK.
Attachment (pdf-Attachment)
I_OBJPACK-TRANSF_BIN = 'X'.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
READ TABLE I_OBJBIN INDEX V_LINES_BIN.
I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
I_OBJPACK-BODY_NUM = V_LINES_BIN.
I_OBJPACK-DOC_TYPE = 'PDF'.
I_OBJPACK-OBJ_NAME = 'smart'.
I_OBJPACK-OBJ_DESCR = FILENAME.
APPEND I_OBJPACK.
CLEAR I_RECLIST.
I_RECLIST-RECEIVER = atab-mail.
I_RECLIST-REC_TYPE = 'U'.
APPEND I_RECLIST.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
WRITE:/ 'Error When Sending the File', SY-SUBRC.
ELSE.
WRITE:/ 'Mail sent'.
ENDIF.
Regards
Nausal -
Can not send e-mail messages at times.
Most of the time I am able to send e-mail but sometimes I get a message that says cannot send message using the server smtp.charter.net I do not need a password for this server and when I run diag I get green connection for both the pop server as well as smpt server. However the message will not send. Any ideas other then deleteing the message, because everything work fine after deleteing it.
Yes, I got a green light for the server not sure if its port 25 though did not look. I deleted the message so I have to wait for it to happen again. This is an iMac 24 inch so it does not move around. I have it connected to the wireless home network and all other wireless routers are also encripted so it sould not switch routers.
I was thinking that there might have been a bad char in the message that caused the trouble. Other thoughts, is that its a group message that hangs the server from time to time. Any ther ideas please let me know. Thanks. -
Does anyone know how to make Safari send e-mail? Mine won't and hasn't for some time.
I have been having trouble for some time sending e-mails by Safari - no problems with Mail - Does anyone know how to make Safari send e-mails?
When we first got our new iMac we were able to send e-mail through Safari - somewhere in the last 2-3 years it stopped and we got the failure to deliver message. We then sent e-mails through Mail - it works well and we have gotten used to doing this. However, every once in a while I retry send e-mails through Safari and we still get the failure to deliver notice. This has also happened when we try to forward some e-mails we receive (not all; most get forwarded).
-
HT4865 How do I stop the system from sending e-mail notification every time i update icloud?
How do I stop the system from sending e-mail notification every time i update icloud?
Pages. Every time I add new information to the program I get an e-mail asking me if I was the one logging on. It is an annoyance.
-
I ordered a book prom iphoto, and it was support to cost 610 NOK. but apple withdrew the amount 3 times from my acconu. how do I get the 1220 NOK back. who do I talk to or send e-mails to? I can't find any information. thanks!
Greetings,
Contact the Apple Online Store in your region (which I believe is Norway): http://store.apple.com/no/help/contact
or
http://support.apple.com/kb/HE57
Cheers. -
Each Time I send a mail merge, Thunderbird freezes
Hey guys,
When I send a mail merge email, Thunderbird Freezes and I have to close it. This has been happening for the last two days.
I get that spinning colour wheel and I am not able to check the amount of messages that have been sent or the amount of time the mail merge has lasted.
Thanks for the help.It is a bug that existed in Mt Lion for a while (and was fixed) that has returned. We can hope that when Apple releases 10.9.1 that's one of the things that gets fixed.
-
Sending e-mails to multiple users at a time
Hi!
I am using weblogic portal 7.0 for personalization. I am using campaign based e-mails for targetting specific customers. I am able to send e-mail through weblogic portal for users when the user logs in. How can I send group e-mails for a specific campaign. For example, if I have to send "virus alert" campaign mail for all our registered customer. I don't want any batch file to be written for this purpose.
I would really appreciate your help.
Thanks
AnandHi Deepak,
The favorites are placed in the "userhome" repository. Take a look at KM Content -> userhome -> for each username -> Favorites, there you'll find links with the favorites. You can simply copy & paste those to the other users, so you don't have to login with each one.
Regards,
Pascal
Maybe you are looking for
-
How to connect an iPad Air 2 to a TV?
I recently bought an iPad Air 2 (my first iPad so it's all new to me), so I was wondering if it's possible to connect the iPad to a TV? I've found a few cables that look like they'd do the job but I thought I'd get some advice before I spend my money
-
Sometimes it does it without scrolling, just on it's own. PC. HP Z800 16 GB Ram Dual quad core Xeon NVidia Quadro 3800 card. I started this project last week and went an entire day without a crash. Since then the only major change to the computer
-
Raw Image Sequence Workflow For Stop Animation
Hi There, I'm making a music video using a bunch of stop animation stills shot using a DSLR. I'm trying to improve the speed of my current workflow so I can use the color correction features of Raw Processing to adjust and re-adjust shots. The curren
-
MSTSQL: Oracle SQLDeveloper (V 1.5.4) from SQLServer
Hello we try to migrate sqlserver to oracle, we obtain this error:Store procedure xyz has language id of "MSTSQL" so will not output for generation. Some of you can help us? Could you tell us which kind of error is it? Is it possible to solve this er
-
502 Bad gateway PLEASE HELP ASAP
I updated one picture on my website and published the changes. I got a message "502 Bad gateway" My website is not live NOW!! Please help me asap [email protected] 908-405-5722