Send message with jar file
hello,
i'm want to send message using jar file, it is possible?
for example : java -jar post.jar
thnx.
For sure "java -jar post.jar" works as any other your desktop application.
So you can do everything from your java code, packed into post.jar
Similar Messages
-
Convert Screen(spool) to PDF file sending mail with attach file
Hi :
I'd like convert spool list to pdf and sending file...
so, I read thread about spool convert to PDF before,
and know how to convert Spool to PDF file and send mail with attach file.
but I have a problem.
my solution as:
step 1. Call function: "CONVERT_ABAPSPOOLJOB_2_PDF"
step 2. Call function: "SO_NEW_DOCUMENT_ATT_SEND_API1"
then, I got a mail with attached PDF file, but the PDF file display limited 255 line.( SO_NEW_DOCUMENT_ATT_SEND_API1 limited)
I want to showing word is wider that 255.
and then I find a manual method as:
After program finished.
Function Menu -> system -> List -> Send
use Prog: "Create Document and Send"
I use this prog sending mail and attached file ,
PDF file do <b>NOT</b> have 255 word limit !
finally. my question is, If I want sending mail as Prog: "Create Document and Send", how to do?
which Function I have to use?...
Please help me, Thanks!Hi,
Check this sample code of sending spool as attachment to an email address..
Parameters.
PARAMETERS: p_email(50) LOWER CASE.
PARAMETERS: p_spool LIKE tsp01-rqident.
Data declarations.
DATA: plist LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA: document_data LIKE sodocchgi1.
DATA: so_ali LIKE soli OCCURS 100 WITH HEADER LINE.
DATA: real_type LIKE soodk-objtp.
DATA: sp_lang LIKE tst01-dlang.
DATA: line_size TYPE i VALUE 255.
DATA: v_name LIKE soextreci1-receiver.
DATA rec_tab LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
Get the spool data.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = p_spool
first_line = 1
last_line = 0
desired_type = ' '
IMPORTING
real_type = real_type
sp_lang = sp_lang
TABLES
buffer = so_ali
EXCEPTIONS
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE s208(00) WITH 'Error'.
LEAVE LIST-PROCESSING.
ENDIF.
Prepare the data.
plist-transf_bin = 'X'.
plist-head_start = 0.
plist-head_num = 0.
plist-body_start = 0.
plist-body_num = 0.
plist-doc_type = 'RAW'.
plist-obj_descr = 'Test ALV'.
APPEND plist.
plist-transf_bin = 'X'.
plist-head_start = 0.
plist-head_num = 0.
plist-body_start = 1.
DESCRIBE TABLE so_ali LINES plist-body_num.
plist-doc_type = real_type.
Get the size.
READ TABLE so_ali INDEX plist-body_num.
plist-doc_size = ( plist-body_num - 1 ) * line_size
+ STRLEN( so_ali ).
APPEND plist.
Move the receiver address.
MOVE: p_email TO rec_tab-receiver,
'U' TO rec_tab-rec_type.
APPEND rec_tab.
IF NOT sp_lang IS INITIAL.
document_data-obj_langu = sp_lang.
ELSE.
document_data-obj_langu = sy-langu.
ENDIF.
v_name = sy-uname.
Send the email.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = document_data
sender_address = v_name
sender_address_type = 'B'
TABLES
packing_list = plist
contents_bin = so_ali
receivers = rec_tab
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.
MESSAGE e208(00) WITH 'Error'.
ENDIF.
COMMIT WORK.
Send the email immediately.
SUBMIT rsconn01
WITH mode = 'INT'
AND RETURN.
Thanks,
Naren -
The XI does not send messages with correct IDOC structure
SAP XI 3.0 sends to ECC IDOC HRMD_A07
The XI does not send messages with correct IDOC structure.
In XI Design, Software Component RHEVOLU, Ive imported the Objects
HRMD_A.HRMD_A07 from SAP ECC; In Tools -> Export Reduced XSD, I saved
HRMD_A.HRMD_A07.xsd in Namespace http://suezambiental.com.br/HR . At
Message Mapping -> mmAdmissao, in Imported Message -> Import XML or
XSD, I imported the reduced Idoc file generated above, mapping source
fields to target fields.
The IDOC sent from XI to ECC has this structure (template: 22122)
E1PLOGI
E1PORIG
E1PITYP
E1P0000
E1P0001
E1P0002
Status 53 -HR: ALE inbound processing for HR master data
But does not update HR Master data.
The structure expected in ECC side (template: 20376) is:
E1PLOGI
E1PORIG
E1PITYP
E1P0000
E1PITYP
E1P0001
E1PITYP
E1P0002
Status 53 -HR: ALE inbound processing for HR master data
By using WE19 transaction, this structure was changed manually; so, the
HR Master data was updated.
Witch kind of customizing or correction could be made in XI, to send
the correct structure to ECC?
Best Regards
ClaudioHi Claudio,
In your case, there are perhaps two causes:
1. perhaps when you have import the idoc, for a strange reason, a bad metadata was created by XI. You can clean this one in tcode <b>IDX2</b> (Idoc metadata cache).
2. but it's also probably an error in your Message Mapping. Have you correctly manage segment E1PITYP?
Regards
Mickael -
Can't send messages with old .mac/me aliases
Hi, I'm using iCloud on the web because I have an old Powerbook as my primary device. I specifically recall that Apple said that I can continue to use my .mac and .me aliases. This is incredibly important since my business is tied to a particular .mac e-mail alias that I've had since, well, dotmac was around.
It looks like I can receive messages with at least one of these aliases, but I cannot send messages with the alias. The alias does not exist in the alias list pull down menu. I tried adding the alias, but was told I already have too many. Three? Very frustrating! Anybody know what's going on or how to fix it? Thanks!
-JenIE11 is the most recent update.
Try to reset all Skype settings.
Quit Skype or use Windows Task Manager to kill any Skype.exe process. Go to Windows Start and in the Search/Run box type %appdata% and then press Enter or click the OK button. The Windows File Explorer will pop up. There locate a folder named “Skype”. Rename this folder to something different, e.g. Skype_old.
Next go to Windows Start and in the Search/Run box type %temp%\skype and then press Enter or click the OK button. Delete the DbTemp folder.
Restart Skype.
N.B. If needed, you will still be able to re-establish your call and chat history. All data is still saved in the Skype_old folder. -
How to use javap with jar files ?
how to use javap with jar files ?
thanksAs long as the jar is on the class path, your gold. So,
javap -classpath myjar.jar mypackage.MyClass
Chuck -
Send mails with csv file as an attachment through oracle(SQL SCripts / Stor
Hello Everybody,
I have recently come across a requirement in which I am supposed to send mails with csv file as an attachment through oracle(SQL SCripts / Stored Procedure) .
The contents of the csv file are to be retreived from the Database as well as the content of the mail and to whom it needs to be sent has also to be picked up from the database.
Can somebody suggest me with a suitable code for the same?
Would be of great help..!!
Thanks & Regards,
- VR
Edited by: user646716 on Dec 18, 2009 10:44 AMread below links
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:255615160805
http://www.orafaq.com/wiki/Send_mail_from_PL/SQL#Send_mail_with_UTL_TCP_-withattachments
How to send csv file as an attachment -
Shell Script to send email with .txt file as attachment
Dear Al,
Could any one help me with code, for sending email with .txt file as attachment using shell script.
Thank You!978334 wrote:
Dear Al,
Could any one help me with code, for sending email with .txt file as attachment using shell script.
Thank You!http://bit.ly/XHfSCz
https://forums.oracle.com/forums/search.jspa?threadID=&q=sendmail&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Problem with sending message with excel attachment
hi,
i m using sap b1 2005b i send message with excel attachment to sap user but message is reached to destination but attchment cannot send .ot shows an internal error pls help me.
reagrds,
vishalVishal,
Couple of questions.
How are you sending this message. Is it a message that you create and send Internally with an attachment.
As you reply me, please also check if the <b>Attachments folder</b> has been set under <b>Administration > System Initialization > General Settings.....Path Tab</b>
SBO tries to copy the attachment from the location you select to the Path defined for Attachments.
Let me know
Suda -
I am new with JAR files please help me
Hi Dear All,
I am new with JAR files, I know concept, but dont know how to careate JAR, and how do i use it?
Please help me.
ThanksThis tutorial covers that:
http://java.sun.com/docs/books/tutorial/deployment/jar/index.html -
I can't send messages with mail 6.0 of mountain lion, because I can't desactivate the option SSL (Secure sockets Layers); it is locked
Hi, i am having the same problem. this is what i have noticed.
I have 2 x imac's and 2 x macbook air's
i upgraded the 2 macbook air's and 1 of the imac's to Mountain Lion, all these have problems acessing sites that require you to login .
the one remaining imac is still running lion and works perfect.
i am using a dlink router with DD-WRT firmware, i tested teathering from my iphone and i can log into websites fine using the newly upgraded mac's.
It's not a wireless issue as my imac is using an ethernet connection.
is there a compatibility issue with some routers. -
Adobe Send - Problem with uploading files. When is this going to get fixed?
When is the Adobe Send problem with uploading files going to get fixed. Similar to others - I have tried and tried to make Adobe Send work and get an error. I have tried to upload the file and it looks like it uploads and then - it is nowhere to be found.
I then go to Adobe Send Now and it works fine.The problem is the same as described in other similar threads.
I have a 57 MB PowerPoint file I am trying to send using Adobe Send. I go through the normal steps to identify the file and select recipients and then send the file. After the file completes the upload - an error saying there was a problem comes up and the file is not uploaded.
I have tried to upload the file to the site with similar results - error and the file doesn't go.
I can go to the old SendNow site and it works flawlessly.
If I need to get screenshots - let me know. There are several other threads describing this same problem. It isn't something new or not heard of before.
Sent from my iPod -
Please help! I can't send messages with my IPod 5!
I can't send messages with my iPod 5th gen. If anyone can help thank you!!!
I just realized I don't have Lion, but I still have this problem with my email.
-
Sending messages with ipad impossible:user name or password incorrect
Can't send messages with my IPAD.
I'm tell that " Username or password for smtp:[email protected]@smtp.live.com is incorrect
I need a clue
ThanksHello mipage,
For that error you would need to make sure that the password is correct in Settings > Mail, Contacts, Calendars and look at the outgoing server settings. If you are unsure of what it should be, then the easiest way is to remove the email account and add it back in to add the correct settings. For more information, take a look at the article below
Get help with Mail on iPhone, iPad, and iPod touch
https://support.apple.com/en-us/TS3899
Regards,
-Norm G. -
Send mail with attached file without using Repository
Hello,
I want to know if have a way to Send mail with attached file without using Repository.
Regards
EladElad,
Check this article where a image has been picked by the file adapter and sent as an attachment to the mail adapter.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816">Sending an Image File Through XI in a File-to-Mail Scenario</a>
For how to proceed without integration repository content look into this blog,
<a href="/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository">How to send any data (even binary) through XI, without using the Integration Repository</a>
Combining these 2 you have the solution.
Regards
Bhavesh -
Can't send message with photo.
Does this relate in any way to the three other threads you have going?
Maybe you are looking for
-
My present version of Firfox is 3.5.15 My Op. System is Linux Fedora version 12. Two days ago when I opened a file in a web search for Mercury Scientific Thermometers, the web page for NovaTech International-USA opened. Centered in the middle of the
-
How do I restore a folder deleted from my dock with TM
Being a new Mac person, I made a critical error. I dragged a folder with all my doc's in it onto the "The dock". The folder still remained on the screen under my Macintosh HD icon. I opened files from both folders so I deleted the one from my home sc
-
Front Row: no Audio in slideshows?
I made a slideshow in iPhoto and connected it with some music. It worked fine in iPhoto. Using Front Row I couldn't present the show, because there was no sound! Support told me that in the new Front Row of Leopard sound is not supported for slidesho
-
HT1923 I Tunes and Windows 8.1
Just moved to Windows 8.1 from 7- what a bad decision I Tunes worked easily and perfectly under 7 I have Windows Media Player installed. I have a large library of Operatic arias under composer, performer etc. I can open them with difficulty but it th
-
What is the file name .........
of the start up screen containing the recent items in "open a recent item"?