Emails getting blocked while sending by Blocklist1
Hi
i have setup my exchange 2010 server, i have problem sending emails to one of my client. Below is the error,
TX2EHSMHS037.bigfish.com rejected your message to the following e-mail addresses:
[email protected] ([email protected])
TX2EHSMHS037.bigfish.com gave this error:
Service unavailable; Client host [94.2xx.1xx.xxx] blocked using Blocklist 1, mail from IP banned; To request removal from this list please forward this message to [email protected] and include your ip address 94.2xx.1xx.xxx .
Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction may be preventing delivery.
Kindly suggest, Thanks
Hi,
Please use http://mxtoolbox.com/blacklists.aspx to verify whether we are in the blacklist.
If it is the case, please contact bigfish.com domain to accept our domain.
If not, please contact our ISP for help.
Found a similar thread for your reference:
bigfish.com rejected your message - Service unavailable; client host x.x.x.x blocked using Blocklist1, mail from IP banned
http://social.technet.microsoft.com/Forums/en-US/5eee56d4-7b0f-479b-bea4-acba94be3aa9/bigfishcom-rejected-your-message-service-unavailable-client-host-xxxx-blocked-using?forum=smallbusinessserver
Disclaimer:
Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software of information found there. Please make sure
that you completely understand the risk before retrieving any suggestions from the above link.
Hope it is helpful
Thanks
Mavis
Mavis Huang
TechNet Community Support
Similar Messages
-
FYI Notification getting canceled while sending notiifcation 2nd time
Hello Gurus,
I have a custom workflow which incorporates AME and AME returns 2 of FYI Receivers groups at the end. I have designed the workflow so that It get the approval group from AME and checks if thats the FYI Group or not. If its FYI Group then it sends a FYI Notification to that group and get backs to Get_Next_approver_from_AME function to get the next approval group. After regular approvals, for the 2 FYI groups which it gets at the end, It is sending the FYI notices to groups but while sending the 2nd FYI notice it is canceling the first one. I have tried all the possible solutions setting the "On Revisit" to "loop" instead of "Reset". Can anybody suggest any other solution for this?
We are on R12 and using WF Builder 2.6.3.0.1
Thanks,
Sunny.
Edited by: user13369509 on Jul 21, 2011 11:24 AMSet the 'On Revisit' value to 'Loop' and verify the issue.
If the value is 'loop' then Workflow Engine simply re executes the pivot activity and all activities that follow in the loop, without resetting, as if they have never been executed before. -
Auto Population of Email Definition fields while sending mails to user
Hi,
I have the requirement that after a resource object has been provisioned to an user, a mail should be sent to him for confirmation.
I am able to successfully send mails to users after the resource object has been provisioned to him by making the configuation settings in the OIM system.
I have made use of a Resource Object , Resource Form , IT resource of type mail server , Email definition etc.
The point is while provisioning the resource object I am populating the User Defined Fields. These fields are visible at the xlWebApp console through the resource form. I am populating these fields while requesting the resource through the xlWebAPp UI.
Now i need to send mails to the user with these fields populated with the values that i m providing while provisioning the resource. Currently my sent mails just consist of plain email definition with a subject line and a body text.
Please let me know how can i include the values in the populated fields in the body of the mail through settings in OIM.
Since i m a QA person i cannot go ahead and write code for creating an adpater for this task. Kindly let me know is there any way by which I can do the same through config settings in OIM.
Thanks in advance.
Pooja.Hello,
Actually i have a resource object as "Laptop" suppose, so for me the user defined fields are Laptop_type, RAM value, ROM Value and Emp ID.
These fields are made visible as UDF through Pre-pop adapters and all the other required settings.
While provisioning the same in the xlWebApp console I am populating them.
The resource form for me (Form Designer for the resource object) is made visible and i am filling in values while provisioning.
Now while sending the mails these values should reflected in the mail body for the fields.
Eg: Subject [hi] Mail body [ The following resource has been provisioned. Laptop_type : Dell, RAM value: 512, ROM value: 40, EMP ID: 123] where these values are filled in the resource form while provisioning the resource object.
Pleased let me know how can i send such mails through config settings in OIM. Right now my mail simply looks like
Eg: Subject [hi] Mail Body [The resource has been provisioned to you]
Thanks again.
Pooja. -
Popups need to blocked while sending email.
I am using the code like below pastedu2026
How ever when I execute my program I am able to send mails to 3 different files successfully ( thanks for that ) and I am getting two popups.
One pop up says its title as u2018SAP connect Send Process : List of sent objectsu2019 and it is showing the list in popup.
When I press u2018ENTERu2019 on above pop up u2026
Another pop up says its title as u2018SAP office express infou2019 and in the popup there is F8 button followed Express document u201CCannot be sent: Errors of EDI 869 input file" received from auu201D and then pop has buttons below as enter, choose inbox buttons.
My functional consultant donu2019t want these two popups as he want to run this program in background mode.
How can I remove popus ?
Do I need to comment
PERFORM initiate_mail_execute_program. in my code ?
Please suggest me ?
Please suggest me how can I write the below code in a better manner ...
THANKS IN ADVANCE.
I am using the code like below pastedu2026
How ever when I execute the program I am able to send mails to 3 different files successfully and I am getting two popups.
One pop up says its title as u2018SAP connect Send Process : List of sent objectsu2019 and it is showing the list in popup.
When I press u2018ENTERu2019 on above pop up u2026
Another pop up says its title as u2018SAP office express infou2019 and in the popup there is F8 button followed Express document u201CCannot be sent: Errors of EDI 869 input file" received from auu201D and then pop has buttons as enter, choose inbox buttons.
My functional consultant donu2019t want these popups as he want to run this program in background mode.
How can I remove popus ?
FORM send_mail .
PERFORM populate_message_table.
PERFORM populate_error_table_869.
Send email message, although is not sent from SAP until mail send
program has been executed(rsconn01)
IF NOT gt_870_output_rec[] IS INITIAL.
PERFORM send_email_message.
ENDIF. " IF NOT gt_870_output_rec[] IS INITIAL.
IF NOT gt_870_err_rec[] IS INITIAL.
PERFORM send_email_error_870.
ENDIF. " IF NOT gt_870_err_rec[] IS INITIAL.
IF NOT gt_869_err_rec[] IS INITIAL.
PERFORM send_email_error_869.
ENDIF. " IF NOT gt_869_err_rec[] IS INITIAL.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
ENDFORM. " SEND_MAIL
FORM POPULATE_MESSAGE_TABLE.
IF NOT gt_870_output_rec[] IS INITIAL.
LOOP AT gt_870_output_rec INTO wa_870_output_rec.
CASE wa_870_output_rec-rec_type.
WHEN 10.
CONCATENATE
wa_870_output_rec-rec_type
wa_870_output_rec-cntrl_no
wa_870_output_rec-filler
INTO it_message SEPARATED BY ';'.
APPEND it_message.
WHEN 20.
lv_870_output_order_qty = wa_870_output_rec-order_qty.
lv_870_output_rec-new_ord_qty = wa_870_output_rec-new_ord_qty.
CONCATENATE
wa_870_output_rec-rec_type
wa_870_output_rec-cntrl_no
wa_870_output_rec-edi_tr_par
lv_870_output_rec-new_ord_qty
INTO wa_message SEPARATED BY ';'.
CONDENSE wa_message NO-GAPS.
APPEND wa_message TO it_message.
WHEN 30.
CONCATENATE
wa_870_output_rec-rec_type
wa_870_output_rec-no_line_itm
wa_870_output_rec-time_stamp
INTO it_message SEPARATED BY ';'.
APPEND it_message.
ENDCASE.
ENDLOOP. " LOOP AT gt_870_output_rec INTO wa_870_output_rec.
ELSE. " IF gt_870_output_rec[] IS INITIAL.
ENDIF. " IF gt_870_output_rec[] IS INITIAL.
IF NOT gt_870_err_rec[] IS INITIAL.
LOOP AT gt_870_err_rec INTO wa_870_err_rec.
CASE wa_870_err_rec-rec_type.
WHEN 10.
CONCATENATE
wa_870_err_rec-rec_type
wa_870_err_rec-cntrl_no
wa_870_err_rec-error
wa_870_err_rec-filler
INTO it_message1 SEPARATED BY ';'.
APPEND it_message1.
WHEN 20.
lv_870_output_order_qty = wa_870_err_rec-order_qty.
lv_870_output_rec-new_ord_qty = wa_870_err_rec-new_ord_qty.
CONCATENATE
wa_870_err_rec-rec_type
wa_870_err_rec-cntrl_no
wa_870_err_rec-edi_tr_par
wa_870_err_rec-sap_cust_no
wa_870_err_rec-brd_idfr
wa_870_err_rec-po_no
wa_870_err_rec-cust_cntrt_po_no
lv_870_output_order_qty
lv_870_output_rec-new_ord_qty
INTO wa_message SEPARATED BY ';'.
CONDENSE wa_message NO-GAPS.
APPEND wa_message TO it_message1.
WHEN 30.
CONCATENATE
wa_870_err_rec-rec_type
wa_870_err_rec-cntrl_no
wa_870_err_rec-no_line_itm
wa_870_err_rec-time_stamp
INTO it_message1 SEPARATED BY ';'.
APPEND it_message1.
ENDCASE.
ENDLOOP. " LOOP AT gt_870_err_rec INTO wa_870_output_rec.
ELSE.
ENDIF. " IF NOT gt_870_err_rec[] IS INITIAL.
ENDFORM. " POPULATE_MESSAGE_TABLE
FORM POPULATE_ERROR_TABLE_869.
IF NOT gt_869_err_rec[] IS INITIAL.
LOOP AT gt_869_err_rec INTO wa_869_err_rec.
CASE wa_869_err_rec-rec_type.
WHEN 10.
CONCATENATE
wa_869_err_rec-rec_type
wa_869_err_rec-cntrl_no
wa_869_err_rec-store_no
wa_869_err_rec-error
wa_869_err_rec-filler
INTO it_message_869 SEPARATED BY ';'.
APPEND it_message_869.
WHEN 20.
CONCATENATE
wa_869_err_rec-rec_type
wa_869_err_rec-cntrl_no
wa_869_err_rec-vend_style
wa_869_err_rec-vend_size
wa_869_err_rec-error
wa_869_err_rec-filler
INTO it_message_869 SEPARATED BY ';'.
APPEND it_message_869.
WHEN 30.
CONCATENATE
wa_869_err_rec-rec_type
wa_869_err_rec-no_line_itm
wa_869_err_rec-time_stamp
INTO it_message_869 SEPARATED BY ';'.
APPEND it_message_869.
ENDCASE. " CASE wa_869_input_rec-rec_type.
ENDLOOP. " LOOP AT gt_869_err_rec INTO wa_869_err_rec.
ELSE.
ENDIF. " IF NOT gt_869_err_rec[] IS INITIAL.
endform. " POPULATE_ERROR_TABLE_869
FORM send_email_message.
Fill the document data.
gd_doc_data-doc_size = 1.
Populate the subject/generic message attributes
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
gd_doc_data-obj_descr = 'Results of EDI 869 and 870'. " psubject.
gd_doc_data-sensitivty = 'F'.
Describe the body of the message
CLEAR it_packing_list.
REFRESH it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
APPEND it_packing_list.
Add the recipients email address
CLEAR it_receivers.
REFRESH it_receivers.
it_receivers-receiver = email id
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
APPEND it_receivers.
it_receivers-receiver = email id
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
APPEND it_receivers.
Call the FM to post the message to SAPMAIL
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gd_doc_data
put_in_outbox = 'X'
IMPORTING
sent_to_all = gd_sent_all
TABLES
packing_list = it_packing_list
contents_txt = it_message
receivers = it_receivers
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 EQ 0.
COMMIT WORK.
*-- DEQUEUE THE LOCK CREATED BY SO_OBJECT_SEND -
*call function 'SO_DEQUEUE_UPDATE_LOCKS'.
ENDIF.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
LOOP AT it_receivers.
ENDLOOP.
ENDFORM. " SEND_EMAIL_MESSAGE
form SEND_EMAIL_ERROR_870 .
Fill the document data.
gd_doc_data-doc_size = 1.
Populate the subject/generic message attributes
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
gd_doc_data-obj_descr = 'Errors of EDI 869 and 870'. " psubject.
gd_doc_data-sensitivty = 'F'.
Describe the body of the message
CLEAR it_packing_list.
REFRESH it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
DESCRIBE TABLE it_message1 LINES it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
APPEND it_packing_list.
Add the recipients email address
CLEAR it_receivers.
REFRESH it_receivers.
it_receivers-receiver = email id
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
APPEND it_receivers.
it_receivers-receiver = email id
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
APPEND it_receivers.
Call the FM to post the message to SAPMAIL
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gd_doc_data
put_in_outbox = 'X'
IMPORTING
sent_to_all = gd_sent_all
TABLES
packing_list = it_packing_list
contents_txt = it_message1
receivers = it_receivers
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 EQ 0.
COMMIT WORK.
*-- DEQUEUE THE LOCK CREATED BY SO_OBJECT_SEND -
*call function 'SO_DEQUEUE_UPDATE_LOCKS'.
ENDIF.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
LOOP AT it_receivers.
ENDLOOP.
endform. " SEND_EMAIL_ERROR_870
form SEND_EMAIL_ERROR_869 .
Fill the document data.
gd_doc_data-doc_size = 1.
Populate the subject/generic message attributes
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
gd_doc_data-obj_descr = 'Errors of EDI 869 input file'. " psubject.
gd_doc_data-sensitivty = 'F'.
Describe the body of the message
CLEAR it_packing_list.
REFRESH it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
DESCRIBE TABLE it_message_869 LINES it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
APPEND it_packing_list.
Add the recipients email address
CLEAR it_receivers.
REFRESH it_receivers.
it_receivers-receiver = email id
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
APPEND it_receivers.
it_receivers-receiver = email id
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
APPEND it_receivers.
Call the FM to post the message to SAPMAIL
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gd_doc_data
put_in_outbox = 'X'
IMPORTING
sent_to_all = gd_sent_all
TABLES
packing_list = it_packing_list
contents_txt = it_message_869
receivers = it_receivers
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 EQ 0.
COMMIT WORK.
*-- DEQUEUE THE LOCK CREATED BY SO_OBJECT_SEND -
*call function 'SO_DEQUEUE_UPDATE_LOCKS'.
ENDIF.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
LOOP AT it_receivers.
ENDLOOP.
endform. " SEND_EMAIL_ERROR_869
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
IF gd_error EQ 0.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAMHow ever when I execute the program I am able to send mails to 3 different files successfully and I am getting two popups.
One pop up says its title as u2018SAP connect Send Process : List of sent objectsu2019 and it is showing the list in popup.
When I press u2018ENTERu2019 on above pop up u2026
Another pop up says its title as u2018SAP office express infou2019 and in the popup there is F8 button followed Express document u201CCannot be sent: Errors of EDI 869 input file" received from auu201D and then pop has buttons as enter, choose inbox buttons.
My functional consultant donu2019t want these popups as he want to run this program in background mode.
How can I remove popus ? -
Getting error while sending mail through javamail api
I can able to compile the following code successfully but while executing it showing the error
C:\Program Files\Java\javamail-1.4\demo>java msgsend -o [email protected] -M 203.112.158.188 [email protected]
Exception in thread "main" java.lang.NoClassDefFoundError: msgsend
import java.io.*;
import java.net.InetAddress;
import java.util.Properties;
import java.util.Date;
import javax.mail.*;
import javax.mail.internet.*;
public class msgsend {
public static void main(String[] argv) {
String to, subject = null, from = null,
cc = null, bcc = null, url = null;
String mailhost = "null";
String mailer = "msgsend";
String file = null;
String protocol = null, host = null, user = null, password = null;
String record = null; // name of folder in which to record mail
boolean debug = false;
BufferedReader in =
new BufferedReader(new InputStreamReader(System.in));
int optind;
for (optind = 0; optind < argv.length; optind++) {
if (argv[optind].equals("-T")) {
protocol = argv[++optind];
} else if (argv[optind].equals("-H")) {
host = argv[++optind];
} else if (argv[optind].equals("-U")) {
user = argv[++optind];
} else if (argv[optind].equals("-P")) {
password = argv[++optind];
} else if (argv[optind].equals("-M")) {
mailhost = argv[++optind];
} else if (argv[optind].equals("-f")) {
record = argv[++optind];
} else if (argv[optind].equals("-a")) {
file = argv[++optind];
} else if (argv[optind].equals("-s")) {
subject = argv[++optind];
} else if (argv[optind].equals("-o")) { // originator
from = argv[++optind];
} else if (argv[optind].equals("-c")) {
cc = argv[++optind];
} else if (argv[optind].equals("-b")) {
bcc = argv[++optind];
} else if (argv[optind].equals("-L")) {
url = argv[++optind];
} else if (argv[optind].equals("-d")) {
debug = true;
} else if (argv[optind].equals("--")) {
optind++;
break;
} else if (argv[optind].startsWith("-")) {
System.out.println(
"Usage: msgsend [[-L store-url] | [-T prot] [-H host] [-U user] [-P passwd]]");
System.out.println(
"\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
System.out.println(
"\t[-f record-mailbox] [-M transport-host] [-a attach-file] [-d] [address]");
System.exit(1);
} else {
break;
try {
if (optind < argv.length) {
// XXX - concatenate all remaining arguments
to = argv[optind];
System.out.println("To: " + to);
} else {
System.out.print("To: ");
System.out.flush();
to = in.readLine();
if (subject == null) {
System.out.print("Subject: ");
System.out.flush();
subject = in.readLine();
} else {
System.out.println("Subject: " + subject);
Properties props = System.getProperties();
// XXX - could use Session.getTransport() and Transport.connect()
// XXX - assume we're using SMTP
if (mailhost != null)
props.put("mail.smtp.host", mailhost);
// Get a Session object
Session session = Session.getInstance(props, null);
if (debug)
session.setDebug(true);
// construct the message
Message msg = new MimeMessage(session);
if (from != null)
msg.setFrom(new InternetAddress(from));
else
msg.setFrom();
msg.setRecipients(Message.RecipientType.TO,
InternetAddress.parse(to, false));
if (cc != null)
msg.setRecipients(Message.RecipientType.CC,
InternetAddress.parse(cc, false));
if (bcc != null)
msg.setRecipients(Message.RecipientType.BCC,
InternetAddress.parse(bcc, false));
msg.setSubject(subject);
String text = collect(in);
if (file != null) {
// Attach the specified file.
// We need a multipart message to hold the attachment.
MimeBodyPart mbp1 = new MimeBodyPart();
mbp1.setText(text);
MimeBodyPart mbp2 = new MimeBodyPart();
mbp2.attachFile(file);
MimeMultipart mp = new MimeMultipart();
mp.addBodyPart(mbp1);
mp.addBodyPart(mbp2);
msg.setContent(mp);
} else {
// If the desired charset is known, you can use
// setText(text, charset)
msg.setText(text);
msg.setHeader("X-Mailer", mailer);
msg.setSentDate(new Date());
// send the thing off
Transport.send(msg);
System.out.println("\nMail was sent successfully.");
// Keep a copy, if requested.
if (record != null) {
// Get a Store object
Store store = null;
if (url != null) {
URLName urln = new URLName(url);
store = session.getStore(urln);
store.connect();
} else {
if (protocol != null)
store = session.getStore(protocol);
else
store = session.getStore();
// Connect
if (host != null || user != null || password != null)
store.connect(host, user, password);
else
store.connect();
// Get record Folder. Create if it does not exist.
Folder folder = store.getFolder(record);
if (folder == null) {
System.err.println("Can't get record folder.");
System.exit(1);
if (!folder.exists())
folder.create(Folder.HOLDS_MESSAGES);
Message[] msgs = new Message[1];
msgs[0] = msg;
folder.appendMessages(msgs);
System.out.println("Mail was recorded successfully.");
} catch (Exception e) {
e.printStackTrace();
public static String collect(BufferedReader in) throws IOException {
String line;
StringBuffer sb = new StringBuffer();
while ((line = in.readLine()) != null) {
sb.append(line);
sb.append("\n");
return sb.toString();
So please help me to resolve that error.The directory that contains msgsend.class (usually the current directory)
is not in your CLASSPATH setting. Be sure that "." is included as one of the
entries in CLASSPATH. -
User getting locked while sending message sync via BPM. Please help
Hi Experts,
I have a sync - sync scenario where I am sending data synchronously from webservice to a sync RFC FM. I am using BPM and in BPM I have three steps
1. Receive step - Opens Sync-Async Bridge
2. Sync Send step
3. Send step - Closes SYnc-Async bridge.
This BPM solution is same as that give in the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
When I test this scenario I am getting
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Timeout condition of pipeline reached</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
When I check the "Status monitor for Sync/Async communication" via SXMB_MONI, I found that my message is listed there with BPE status = "Wait".
On double clicking my message I found that there is an error " User is locked. Please notify the person responsible".
Why is my BPE struck in "Wait" stage and user is locked?
What am I doing wrong? Am I missing any settings in SOAP sender communication channel?
Please help me in resolving this problem.
Regards
GopalHi,
Few months ago we had also problems with "locked user" in XI, in our case XIAPPLUSER was sometimes (b)locked.
Perhaps note:
721548 Changing the passwords of the XI 3.0 service users
will help you.
We removed and entered the service users again, with the password in CAPITALS and language blank.
After that our problem was solved, I hope yours too.
Regards
Jack -
Getting exceptions while sending mail using javamail api
Hi to all
I am developing an application of sending a mail using JavaMail api. My program is below:
quote:
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class sms
public static void main(String args[])
try
String strstrsmtserver="smtp.bol.net.in";
String strto="[email protected]";
String strfrom="[email protected]";
String strsubject="Hello";
String bodytext="This is my first java mail program";
sms s=new sms();
s.send(strstrsmtserver,strto,strfrom,strsubject,bodytext);
catch(Exception e)
System.out.println("usage:java sms"+"strstrsmtpserver tosddress fromaddress subjecttext bodyText");
System.exit(0);
public void send(String strsmtpserver,String strto,String strfrom ,String strsubject,String bodytext)
try
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
Properties p=new Properties(System.getProperties());
if(strsmtpserver!=null)
p.put("mail.transport.protocol","smtp");
p.put("mail.smtp.host","[email protected]");
p.put("mail.smtp.port","25");
Session session=Session.getDefaultInstance(p);
Message msg=new MimeMessage(session);
Transport trans = session.getTransport("smtp");
trans.connect("smtp.bol.net.in","[email protected]","1234563757");
msg.setFrom(new InternetAddress(strfrom));
msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(strto,false));
msg.setSubject(strsubject);
msg.setText(bodytext);
msg.setHeader("X-Mailer","mtnlmail");
msg.setSentDate(new Date());
Transport.send(msg);
System.out.println("Message sent OK.");
catch(Exception ex)
System.out.println("here is error");
ex.printStackTrace();
It compiles fine but showing exceptions at run time.Please help me to remove these exceptions.I am new to this JavaMail and it is my first program of javamail.Please also tell me how to use smtp server.I am using MTNL 's internet connection having smtp.bol.net.in server.
exceptions are:
Here is exception
quote:
Javax.mail.MessagingException:Could not connect to SMTP host : smtp.bol.net.in, port :25;
Nested exception is :
Java.net.ConnectException:Connection refused: connect
At com.sun.mail.smtp.SMTPTransport.openServer<SMTPTransport.java:1227>
At com.sun.mail.smtp.SMTPTransport.protocolConnect<SMTPTransport.java:322>
At javax.mail.Service .connect(Service.java:236>
At javax.mail.Service.connect<Service.java:137>
At sms.send<sms.java:77>
At sms.main<sms.java:24>Did you find the JavaMail FAQ?
You should talk to your ISP to get the details for connecting to your server.
In this case I suspect your server wants you to make the connection on the
secure port. The FAQ has examples of how to do this for GMail and Yahoo
mail, which work similarly. By changing the host name, these same examples
will likely work for you. -
VLAN member access getting block while loading ACL
Hi,
I have lynksys SGE 2000 switch, which I am using as layer 3/ standalone mode for creating VLAN.
I registered VLAN ID 100 with IP 192.168.1.253, along with two system with IPs 192.168.1.2 & 192.168.1.3 on port ge2 & ge3 respectively.
I am trying to create an ACL using graphical admin interface(http on 192.168.1.253) to allow port 80 on 192.168.1.2 and 1433 on 192.168.1.3 in one ACL having two different rules as 192.168.1.0 0.255.255.255 Allow to 192.168.1.2 port 80 & 192.168.1.0 0.255.255.255 Allow to 192.168.1.3 port 1433.
But while I am loading ACL (named temp) with port ge2 and ge3. The configuration is not working. Even if I create a simple allow all ACL rules and tries to load it on any of the port ge2 or ge3, the associated machine is not able to access from anywhere.
Can anyone please help on this what I am missing in it.
Thanks in advance
Regards
Ganesh SajwanI can see that thedeclartion of your ACL rules are correct. Try to see if you are using the latest firmware virsion of the switch.
Other than this, I suggest contacting Cisco Tech support to further look into your concern. I believe this unit belongs to the business series devices that Cisco is now supporting. Try to go to this link for the other business series devices and the site where you can get hold of Cisco for support:
http://www.cisco.com/web/products/linksys/index.html -
Getting RuntimeException while sending a JMenu Object via http
Hello,
since Java 1.5.0 i use a mechanism, which transfers a JMenu from my servlet object to my applet object via http.
Now since 1.5.0_02 i get this Exception while doing it:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.swing)
Now there is nothing to find about this. Not here in the forums, neither in google or anywhere else.
My guess is, its a matter of deserialization of thoses Jmenus.
Anybody out there with the same problem?
Anybody knows how to solve this WITHOUT changes the policy?
thanks
steffanThe directory that contains msgsend.class (usually the current directory)
is not in your CLASSPATH setting. Be sure that "." is included as one of the
entries in CLASSPATH. -
Getting error while sending data to OIM through SPMLWS
[11/12/10 4:12:29:834 EST] 00000040 SystemOut O ERROR,12 Nov 2010 04:12:29,830,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUtilityFactory/getPropertyValue encounter some problems: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
java.lang.ClassCastException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:372)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.lookupHome(Unknown Source)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.getHome(Unknown Source)
at Thor.API.tcUtilityFactory.getUnauthenticatedOperations(Unknown Source)
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.oracle.xl.spmlws.oim.eventhandler.OIMCallFactory.<init>(Unknown Source)
at com.oracle.xl.spmlws.framework.eventhandler.OIMEventHandler.handleRequest(Unknown Source)
at com.oracle.xl.spmlws.framework.event.EventMediator.executeEventHandlerSequence(Unknown Source)
at com.oracle.xl.spmlws.framework.event.EventMediator.processEvent(Unknown Source)
at com.oracle.xl.spmlws.framework.engine.Engine.process(Unknown Source)
at com.oracle.xl.spmlws.framework.engine.Engine.provision(Unknown Source)
at com.oracle.xl.spmlws.ws.server.websphere.HttpSoap11BindingImpl.processRequest(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:453)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:414)
at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1075)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3391)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[11/12/10 4:12:29:857 EST] 00000040 SystemOut O ERROR,12 Nov 2010 04:12:29,856,[SPMLWS.ENGINE],Provisioning Failed
[11/12/10 4:12:29:863 EST] 00000040 SystemOut O ERROR,12 Nov 2010 04:12:29,857,[ EXCEPTION WHILE PROCESSING PAYLOAD ],SPMLWS.Utility
com.oracle.xl.spmlws.framework.engine.EngineException: com.oracle.xl.spmlws.framework.engine.EngineException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.engine.Engine.provision(Unknown Source)
at com.oracle.xl.spmlws.ws.server.websphere.HttpSoap11BindingImpl.processRequest(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:453)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:414)
at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1075)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3391)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: com.oracle.xl.spmlws.framework.engine.EngineException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.engine.Engine.process(Unknown Source)
... 40 more
Caused by: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.event.EventMediator.processEvent(Unknown Source)
... 41 more
Caused by: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.eventhandler.OIMEventHandler.handleRequest(Unknown Source)
at com.oracle.xl.spmlws.framework.event.EventMediator.executeEventHandlerSequence(Unknown Source)
... 42 more
Caused by: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.oim.eventhandler.OIMCallFactory.<init>(Unknown Source)
... 44 more
Caused by: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
... 45 more
[11/12/10 4:12:29:918 EST] 00000040 SystemOut O DEBUG,12 Nov 2010 04:12:29,917,[ WEBSERVICE METHOD PROCESSREQUEST ENDS ],SPMLWS.UtilityFollow these steps..
http://download.oracle.com/docs/cd/E14899_01/doc.9102/e14764/toc.htm#BGBJIIID
If you are using IBM WebSphere Application Server as the application server, then update the xlDataObjectBeans.jar file as follows:
Note:
Ensure that you perform these steps after you have performed the procedure described in "Upgrading Oracle Identity Manager on IBM WebSphere Application Server".
1.
In a Web browser, connect to the WebSphere administrative console by using a URL of the following format:
http://HOST_NAME:PORT/admin
2.
Log in by using the Oracle Identity Manager administrator account that you specified during installation.
3.
Click Applications, and then select Enterprise Applications.
4.
Select Xellerate application.
5.
Click Export.
6.
Save the xellerate.ear file to a temporary directory.
7.
Extract the xlDataObjectBeans.jar file from the xellerate.ear file.
Note:
Ensure that you extract the xlDataObjectBeans.jar file and not the xlDataObjects.jar file.
8.
Copy the xlDataObjectBeans.jar file into the OIM_DC_HOME\xlclient\lib directory. -
Error while sending email to external mail - Urgent
Hi All,
I am getting error while sending email with attachement. The Error code is 02.
I am not able to identify the error. bold Please help me in solving this problem.
Is it anything wrong with the code or Any Configuration with SCOT/SOST.bold
the code i am using is :
REPORT YVR_F MESSAGE-ID XX .
TABLES : EDIDC, EDIDS, EDPAR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS : P_STATUS LIKE EDIDC-STATUS DEFAULT '51'.
SELECT-OPTIONS : S_DIRECT FOR EDIDC-DIRECT,
S_MESTYP FOR EDIDC-MESTYP,
S_CREDAT FOR EDIDC-CREDAT.
SELECTION-SCREEN END OF BLOCK B1 .
PARAMETER: P_EMAIL LIKE SOMLRECI1-RECEIVER,
P_SENDER LIKE SOMLRECI1-RECEIVER no-display,
P_DELSPL AS CHECKBOX,
P_ONLINE NO-DISPLAY.
DATA : TB_EDIDC LIKE STANDARD TABLE OF EDIDC INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_EDPAR LIKE STANDARD TABLE OF EDPAR INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_KNA1 LIKE STANDARD TABLE OF KNA1 INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_ADRC LIKE STANDARD TABLE OF ADRC INITIAL SIZE 0 WITH HEADER
LINE.
DATA: INT_PDF TYPE TABLE OF TLINE WITH HEADER LINE.
DATA : BEGIN OF TB_ED OCCURS 0,
SNDPRN LIKE EDIDC-SNDPRN,
LOC LIKE ADRC-BUILDING,
DOCNUM LIKE EDIDC-DOCNUM,
IDOCTP LIKE EDIDC-IDOCTP,
MESTYP LIKE EDIDC-MESTYP,
DIRECT LIKE EDIDC-DIRECT,
CREDAT LIKE EDIDC-CREDAT,
STATUS LIKE EDIDC-STATUS,
END OF TB_ED.
DATA: IT_MESSAGE TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: IT_ATTACH TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
WITH HEADER LINE.
Job Runtime Parameters
DATA: GD_EVENTID LIKE TBTCM-EVENTID,
GD_EVENTPARM LIKE TBTCM-EVENTPARM,
GD_EXTERNAL_PROGRAM_ACTIVE LIKE TBTCM-XPGACTIVE,
GD_JOBCOUNT LIKE TBTCM-JOBCOUNT,
GD_JOBNAME LIKE TBTCM-JOBNAME,
GD_STEPCOUNT LIKE TBTCM-STEPCOUNT,
GD_ERROR TYPE SY-SUBRC,
GD_RECIEVER TYPE SY-SUBRC.
DATA: W_RECSIZE TYPE I,
W_SPOOL_NR LIKE SY-SPONO.
%_print LIKE pri_params.
DATA: GD_SUBJECT LIKE SODOCCHGI1-OBJ_DESCR,
IT_MESS_BOD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
IT_MESS_ATT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
GD_SENDER_TYPE LIKE SOEXTRECI1-ADR_TYP,
GD_ATTACHMENT_DESC TYPE SO_OBJ_NAM,
GD_ATTACHMENT_NAME TYPE SO_OBJ_DES.
Spool to PDF conversions
DATA: GD_SPOOL_NR LIKE TSP01-RQIDENT,
GD_DESTINATION LIKE RLGRAP-FILENAME,
GD_BYTECOUNT LIKE TST01-DSIZE,
GD_BUFFER TYPE STRING.
Binary store for PDF
DATA: BEGIN OF IT_PDF_OUTPUT OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF IT_PDF_OUTPUT.
DATA: GD_RECSIZE TYPE I.
CONSTANTS: C_DEV LIKE SY-SYSID VALUE 'DEV',
C_NO(1) TYPE C VALUE ' ',
C_DEVICE(4) TYPE C VALUE 'LOCL'.
DATA: T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
W_CNT TYPE I,
W_SENT_ALL(1) TYPE C,
W_DOC_DATA LIKE SODOCCHGI1.
DATA : MSTR_PRINT_PARMS LIKE PRI_PARAMS,
MC_VALID,
P_REPID LIKE SY-REPID,
WF_ID LIKE TSP01-RQIDENT,
LOC_BYTECOUNT TYPE I.
*start-of-selection.
MSTR_PRINT_PARMS-PDEST = 'LOCL'.
P_REPID = SY-REPID.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority= ' '
COPIES = '1'
COVER_PAGE = SPACE
DATA_SET = SPACE
DEPARTMENT = SPACE
DESTINATION = 'LP01'
EXPIRATION = '1'
IMMEDIATELY = 'X'
LAYOUT = 'X_65_132'
MODE = SPACE
NEW_LIST_ID = 'X'
NO_DIALOG = 'X'
USER = SY-UNAME
IMPORTING
OUT_PARAMETERS = MSTR_PRINT_PARMS
VALID = MC_VALID
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
SUBMIT (P_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS MSTR_PRINT_PARMS.
AND RETURN.
NEW-PAGE PRINT ON NO DIALOG PARAMETERS
MSTR_PRINT_PARMS.
perform data.
NEW-PAGE PRINT OFF. "This marks the end of the screen for which the
*SPOOL NO WAS GENERATED.
WF_ID = SY-SPONO.
*converting spool to pdf
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = WF_ID "SPOOL NUMBER
NO_DIALOG = SPACE
PDF_DESTINATION = 'X'
IMPORTING
PDF_BYTECOUNT =
LOC_BYTECOUNT "NUMBER OF BYTES TRANSFERRED
TABLES
PDF = INT_PDF "TABLE FOR PDF REPORT
EXCEPTIONS
ERR_NO_ABAP_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DESTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12.
*CALL FUNCTION 'DOWNLOAD'
*EXPORTING
*bin_filesize = loc_bytecount "NO. OF BYTES
*filename = 'C:/EMAILPDF.PDF'
*filetype = 'BIN'
**IMPORTING
**act_filename = loc_filename
*TABLES
*data_tab = int_pdf.
IF P_DELSPL EQ 'X'.
PERFORM DELETE_SPOOL.
ENDIF.
Transfer the 132-long strings to 255-long strings
LOOP AT INT_PDF.
TRANSLATE INT_PDF USING ' ~'.
CONCATENATE GD_BUFFER INT_PDF INTO GD_BUFFER.
ENDLOOP.
TRANSLATE GD_BUFFER USING '~ '.
DO.
IT_MESS_ATT = GD_BUFFER.
APPEND IT_MESS_ATT.
SHIFT GD_BUFFER LEFT BY 255 PLACES.
IF GD_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
DESCRIBE TABLE IT_MESS_ATT LINES GD_RECSIZE.
CHECK GD_RECSIZE > 0.
PERFORM SENDMAIL USING P_EMAIL..
*& Form sendmail
text
--> p1 text
<-- p2 text
FORM SENDMAIL USING P_EMAIL.
CHECK NOT ( P_EMAIL IS INITIAL ).
REFRESH IT_MESS_BOD.
Default subject matter
GD_SUBJECT = 'Subject'.
GD_ATTACHMENT_DESC = 'IDOC LIST'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
If no sender specified - default blank
IF P_SENDER EQ SPACE.
GD_SENDER_TYPE = SPACE.
ELSE.
GD_SENDER_TYPE = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
TABLES IT_MESS_BOD
IT_MESS_ATT
USING P_EMAIL
'Document attachment'
'PDF'
GD_ATTACHMENT_NAME
GD_ATTACHMENT_DESC
P_SENDER
GD_SENDER_TYPE
CHANGING GD_ERROR
GD_RECIEVER.
ENDFORM. " sendmail
*& Form DELETE_SPOOL
text
--> p1 text
<-- p2 text
FORM DELETE_SPOOL.
DATA: LD_SPOOL_NR TYPE TSP01_SP0R-RQID_CHAR.
LD_SPOOL_NR = WF_ID. "GD_SPOOL_NR.
CHECK P_DELSPL <> C_NO.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
SPOOLID = LD_SPOOL_NR.
ENDFORM. " DELETE_SPOOL
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
text
-->P_IT_MESS_BOD text
-->P_IT_MESS_ATT text
-->P_P_EMAIL text
-->P_0846 text
-->P_0847 text
-->P_GD_ATTACHMENT_NAME text
-->P_GD_ATTACHMENT_DESC text
-->P_P_SENDER text
-->P_GD_SENDER_TYPE text
<--P_GD_ERROR text
<--P_GD_RECIEVER text
FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES IT_MESSAGE
IT_ATTACH
USING P_EMAIL
P_MTITLE
P_FORMAT
P_FILENAME
P_ATTDESCRIPTION
P_SENDER_ADDRESS
P_SENDER_ADDRES_TYPE
CHANGING P_ERROR
P_RECIEVER.
DATA: LD_ERROR TYPE SY-SUBRC,
LD_RECIEVER TYPE SY-SUBRC,
LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
LD_EMAIL LIKE SOMLRECI1-RECEIVER,
LD_FORMAT TYPE SO_OBJ_TP ,
LD_ATTDESCRIPTION TYPE SO_OBJ_NAM ,
LD_ATTFILENAME TYPE SO_OBJ_DES ,
LD_SENDER_ADDRESS LIKE SOEXTRECI1-RECEIVER,
LD_SENDER_ADDRESS_TYPE LIKE SOEXTRECI1-ADR_TYP,
LD_RECEIVER LIKE SY-SUBRC.
DATA: T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
W_CNT TYPE I,
W_SENT_ALL(1) TYPE C,
W_DOC_DATA LIKE SODOCCHGI1.
LD_EMAIL = P_EMAIL.
LD_MTITLE = P_MTITLE.
LD_FORMAT = P_FORMAT.
LD_ATTDESCRIPTION = P_ATTDESCRIPTION.
LD_ATTFILENAME = P_FILENAME.
LD_SENDER_ADDRESS = P_SENDER.
LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
Fill the document data.
W_DOC_DATA-DOC_SIZE = 1.
Populate the subject/generic message attributes
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
W_DOC_DATA-SENSITIVTY = 'F'.
Fill the document data and get size of attachment
CLEAR W_DOC_DATA.
READ TABLE IT_ATTACH INDEX W_CNT.
W_DOC_DATA-DOC_SIZE =
( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE.
W_DOC_DATA-SENSITIVTY = 'F'.
CLEAR T_ATTACHMENT.
REFRESH T_ATTACHMENT.
T_ATTACHMENT[] = IT_ATTACH[].
Describe the body of the message
CLEAR T_PACKING_LIST.
REFRESH T_PACKING_LIST.
T_PACKING_LIST-TRANSF_BIN = SPACE.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 0.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = 'RAW'.
APPEND T_PACKING_LIST.
Create attachment notification
T_PACKING_LIST-TRANSF_BIN = 'X'.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 1.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = LD_FORMAT.
T_PACKING_LIST-OBJ_DESCR = LD_ATTDESCRIPTION.
T_PACKING_LIST-OBJ_NAME = LD_ATTFILENAME.
T_PACKING_LIST-DOC_SIZE = T_PACKING_LIST-BODY_NUM * 255.
APPEND T_PACKING_LIST.
Add the recipients email address
CLEAR T_RECEIVERS.
REFRESH T_RECEIVERS.
T_RECEIVERS-RECEIVER = p_EMAIL.
T_RECEIVERS-REC_TYPE = 'U'.
T_RECEIVERS-COM_TYPE = 'INT'.
T_RECEIVERS-NOTIF_DEL = 'X'.
T_RECEIVERS-NOTIF_NDEL = 'X'.
APPEND T_RECEIVERS.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
W_SENT_ALL = 'X'.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_DATA
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = LD_SENDER_ADDRESS
SENDER_ADDRESS_TYPE = LD_SENDER_ADDRESS_TYPE
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = W_SENT_ALL
TABLES
PACKING_LIST = T_PACKING_LIST
object_header = objhead
CONTENTS_BIN = T_ATTACHMENT
CONTENTS_TXT = IT_MESSAGE
RECEIVERS = T_RECEIVERS
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
IF SY-SUBRC NE 0.
MESSAGE E000 WITH 'Error occurred while sending'.
ELSE.
MESSAGE I000 WITH 'The document was sent'.
ENDIF.
ENDFORM. " SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form data
text
--> p1 text
<-- p2 text
FORM data.
SELECT SNDPRN
DOCNUM
IDOCTP
MESTYP
DIRECT
CREDAT
STATUS
FROM EDIDC
INTO CORRESPONDING FIELDS
OF TABLE TB_EDIDC
WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
SELECT KUNNR
INPNR
FROM EDPAR
INTO CORRESPONDING FIELDS
OF TABLE TB_EDPAR
FOR ALL ENTRIES IN TB_EDIDC
WHERE KUNNR = TB_EDIDC-SNDPRN.
SELECT KUNNR
ADRNR
FROM KNA1
INTO CORRESPONDING FIELDS
OF TABLE TB_KNA1
FOR ALL ENTRIES IN TB_EDPAR
WHERE KUNNR = TB_EDPAR-INPNR.
SELECT ADDRNUMBER
BUILDING
FROM ADRC
INTO CORRESPONDING FIELDS
OF TABLE TB_ADRC
FOR ALL ENTRIES IN TB_KNA1
WHERE ADDRNUMBER = TB_KNA1-ADRNR.
LOOP AT TB_EDIDC WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
TB_ED-SNDPRN = TB_EDIDC-SNDPRN.
TB_ED-DOCNUM = TB_EDIDC-DOCNUM.
TB_ED-IDOCTP = TB_EDIDC-IDOCTP.
TB_ED-MESTYP = TB_EDIDC-MESTYP.
TB_ED-DIRECT = TB_EDIDC-DIRECT.
TB_ED-CREDAT = TB_EDIDC-CREDAT.
TB_ED-STATUS = TB_EDIDC-STATUS.
READ TABLE TB_EDPAR WITH KEY KUNNR = TB_EDIDC-SNDPRN.
READ TABLE TB_KNA1 WITH KEY KUNNR = TB_EDPAR-INPNR.
READ TABLE TB_ADRC WITH KEY ADDRNUMBER = TB_KNA1-ADRNR.
TB_ED-LOC = TB_ADRC-BUILDING.
APPEND TB_ED.
ENDLOOP.
WRITE :/02 'CustomerNo',
15 'Location Code',
30 'Idoc Number',
55 'Basic Type',
70 'Message Type',
95 'Direction',
110 'Received Date',
130 'Status'.
ULINE.
LOOP AT TB_ED.
WRITE :/02 TB_ED-SNDPRN,
15 TB_ED-LOC,
30 TB_ED-DOCNUM,
55 TB_ED-IDOCTP,
70 TB_ED-MESTYP,
95 TB_ED-DIRECT,
110 TB_ED-CREDAT,
130 TB_ED-STATUS.
ENDLOOP.
ENDFORM. " data
Kindly help me in solving the issue.
Thanks in advance.
Suki.Hi,
Check in transaction SCOT. If your mail is in error status in SCOT, you can assure that there is no problem with your code. If your message has not reached till SCOT, then the problem will be with the code.
If the mail is there in scot with error status tell the BASIS to configure it. I feel this could be the problem.
Regards,
Renjith Michael. -
Sup Error While Sending Date Parameter to SUP server?
Hi Every one,
I am developing an iOS app using Sybase Unwired Platform 2.1.3 I am getting error While sending Date parameter to Database. How to send DATE format to the sales_order table for order_date column from iOS.
I tried like this..
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date=[NSDate date];
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
In server log:
2014-02-28 16:39:41.833 WARN Other Thread-182 [SUP105.server.SUP105DB]{"_op":"C","level":5,"code":412,"eisCode":"257","message":"com.sybase.jdbc3.jdbc.SybSQLException:SQL Anywhere Error -157: Cannot convert '' to a timestamp","component":"Sales_order","entityKey":"3210004","operation":"create","requestId":"3210005","timestamp":"2014-02-28 11:09:41.646","messageId":0,"_rc":0}
I strongly believe the above error for because of Date format..i have tried different ways to send Date to Sup server ..but i didn't get any solution.. Can any one help me me how to send date to database in SUP in iOS??
Message was edited by: Michael ApplebyHi Jitendra,
Thanks for your Quick reply..Any way i have tried what you said,but i didn't get any solution.
Here is my Code:
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
[formatter setDateFormat:@"dd-MM-YYYY HH:mm:ss"];
NSDate *tempDate =(NSDate *) [formatter stringFromDate:[NSDate date]];
NSLog(@"%@",tempDate);
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date =tempDate;
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
Error is :
Exception---SUPPersistenceException: exception is in createCore: unexpected null value for 'order_date' -
Can't send email. Get error: "An error occurred while sending. The mail sever responded: From address is not valid [R0107001]. Please verify your email address is correct in your Mail Preference and try again."
My email ([email protected]) is correct.
After receiving the error message I try to resend. Get second error message. BUT AFTER ABOUT SIX TRYS THE MESSAGE IS SENT.
What shall I do???problem solved. an update thunderbird message showed up, did update and now works. WOW!
-
String gets added to the name of the PDF while sending email
Hi,
I am generating a PDF from a smartform. When i click on the email button on the PDF, it opens outlook with the PDF in the attachment. But i can see some string gets added to the begining of the name of PDF for example if i have named the PDF as 18000012 then while sending email from PDF i can see the name as XXXXX1800012.pdf as the attachment. Is there any way by which i can remove that string.
Thanks,
SonalYou can use text variables in the report description
-
I have been using Thunderbird for a couple of years. On Friday 10 Apr my home email account stopped sending either new messages or replying to incoming emails. In addition I have Thunderbird get my work email and I can send and receive email just fine. I can also send email from my android phone and via the web.
The message that has started coming up is the following:
An error occurred while sending mail. The mail server responded: 5.7.1 [P4] Message blocked due to spam content in the message.. Please check the message and try again.
I have tried reinstalling Thunderbird but nothing changed, I tried changing the port from 25 to 587 to 465 but nothing changed. I do not understand what is going on as on Wednesday Apr 8 everything was working just fine.I have just tried ringing RCN and they tell me that because I am not using an RCN email as such they can not help but he suggested that it was a filter in Thunderbird but I have not set any filters and can not see if there are any or how to change them. The only way sending my website url right now is to make it not look like a url. Where do I need to look to solve this as I first wrote last week everything was fine.
Maybe you are looking for
-
Error while activating TCT and BI admin. Cockpit (Urgent)
Hi Experts, We are configuring NW 04s BI system right now. We have followed the general settings on the system after Basis handed that over to us accrding to Best Practice config. document. Now to install BI administration cockpit, we
-
Need help with my TSST CORP CD DVDW TS L633M ATA device - it don't function at all!
Here is my setup: PC: HP Pavilion dv6 1233eo entertainment notebook pc OS: Windows Vista sp 2 Processor: Turion X2 dual-core mobile RM75 2,2 Ghz Ram: 4 GB DVD-drive: TST corp CD DVDW TS L633M ATA My DVD won't work at all! I can't tell what had happen
-
Process does not end when binding a object to registry
I am writing a Unit Test case in which i need to create a datasource and bind it to RMI registry so that the methods i need to test can get a database connection . The problem is that after the test cases have finished running the process does not en
-
Shared mailbox not working on 2007
Hello, i'm having a problem generating a shared mailbox and making it work, here's the BG info: Created a universal security group called "info access" with two users which need MB access we have domain.local internal and domain.com external i create
-
Server Intermittently refuses to display local login window - screen saver
Occasionally the local login window refuses to appear after the screen saver has been activated on my 10.5.8 Server, resulting in my inability to access the interface at all afterwards. Other symptoms of the problem are that remote logins (ssh) are a