Can you send encrypted e-mails using SO_NEW_DOCUMENT_ATT_SEND_API1
We use SO_NEW_DOCUMENT_ATT_SEND_API1 to send e-mails to employees for various notifications. The e-mails go out through SCOT and are sent to our lotus notes.
We have a project being implemented, where the data we are sending in the note is kind of sensitive, so we'd like to see if we could send the e-mail as encrypted. Does anyone know if there is some parameter we can set upon sending that would encrypt the text in the e-mail for sending?
FORM pssword_prot_encryptpdf .
DATA: BEGIN OF command_list OCCURS 0.
INCLUDE STRUCTURE sxpgcolist.
DATA: END OF command_list .
DATA: BEGIN OF exec_protocol OCCURS 0.
INCLUDE STRUCTURE btcxpm.
DATA: END OF exec_protocol.
DATA: status LIKE btcxp3-exitstat,
commandname LIKE sxpgcolist-name VALUE 'ZTEST',
sel_no LIKE sy-tabix.
* GET LIST OF EXTERNAL COMMANDS
CALL FUNCTION 'SXPG_COMMAND_LIST_GET'
EXPORTING
commandname = commandname
operatingsystem = sy-opsys
TABLES
command_list = command_list
EXCEPTIONS
OTHERS = 1.
CALL FUNCTION 'SXPG_COMMAND_CHECK'
EXPORTING
commandname = command_list-name
operatingsystem = sy-opsys
EXCEPTIONS
no_permission = 1
command_not_found = 2
parameters_too_long = 3
security_risk = 4
wrong_check_call_interface = 5
x_error = 6
too_many_parameters = 7
parameter_expected = 8
illegal_command = 9
communication_failure = 10
system_failure = 11
OTHERS = 12.
CLEAR command_list.
REFRESH command_list.
DATA: v_dir_input TYPE sxpgcolist-parameters.
DATA: v_dir_input1 TYPE sxpgcolist-parameters.
break developer.
command_list-name = 'ZTEST'.
command_list-opsystem = 'Windows NT'.
CONCATENATE 'd:\pdf\' main_dtl-vbeln '.PDF' INTO name.
CONCATENATE 'cmd /c d:\pdf\encryptpdf.exe' '-i' name '-o ' name '-u' hdr-password INTO v_dir_input SEPARATED BY space .
READ TABLE command_list INDEX sel_no.
break developer.
CONCATENATE command_list-opcommand v_dir_input INTO command_list-opcommand SEPARATED BY space.
* CHECK AUTHORIZATION
command_list-addpar = 'X'.
APPEND command_list.
CONSTANTS: c_extcom TYPE sxpgcolist-name VALUE 'ZTEST',
c_oper TYPE syopsys VALUE 'Windows NT'.
DATA: t_result TYPE STANDARD TABLE OF btcxpm.
v_dir_input = command_list-opcommand.
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
commandname = c_extcom
additional_parameters = v_dir_input
operatingsystem = c_oper
TABLES
exec_protocol = t_result
EXCEPTIONS
no_permission = 1
command_not_found = 2
parameters_too_long = 3
security_risk = 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
wrong_asynchronous_parameters = 12
cant_enq_tbtco_entry = 13
jobcount_generation_error = 14
OTHERS = 15.
ENDFORM. " PSSWORD_PROT
Similar Messages
-
Can't send or receive mail using mail
I am posting for a new Mac user. We don't know all the terms so please be patient. She can get to webmail at sbc..... and use but can't use Mail to send or recieve. Help!
ibook running Tiger 10.4.4
dialup connection with sbcglobal.....
can use SBC webmail
have checked pop and smtp connections with sbc
Sbc says they can't help don't have mac mail instructions
Can anyone help? Is there something we are missing?
What good are they if they can't help?
rosieagAuthentication my ISP set to None in Mail---and
tutorial has no such thing authentication for her in
server settings? Also, under advanced
authentication mine is Password and the tutorial has
........(for password) I assume. We entered her
password.
We know the ports are important. Hers are set to 25
and 25. SSL is not checked
Help me keep straight on your setting versus hers. For the sbcglobal, in Advanced the Port should be 110 -- this is for the Incoming POP3 server.
In the Server Settings for the Outgoing server, the Port should be 25, and the Authentication set to Password, and the Username entry should be the full email address (this is different for some ISP, but SBC instructs to use the full email address), and of course the Password. In both place where Username is required, it should be the entire email address for her sbcglobal.
Have I missed anything? Do you still have your setup working AOK?
Ernie
BTW, I am a 61 year old, grandfather, but perhaps a little geekier than some! -
Function Module for sending Encrypted e-mail
Hi All,
I am currently working for JNJ Client and Currently I have a requirement to send an E-mail with Encrypted format.
When users receive an E-mail ,he/She should be able to open when there is only a secure Token connected to his system.
Based on my search i could able to find there is a function module SO_DOCUMENT_SEND_API1.
Could any on of you expalin how can we send Encrypted E-mail through this FM.
Please Note : We are Planning to send an E-mail containing System SAP System Password if he gets unlock.
It would be great help if you could share this valuable information.
Regards,
Sujatha Arsid.I think it is matter of setting your config correctly. Refer these 2 links which details the standard process for this: https://help.sap.com/saphelp_nw73ehp1/helpdata/en/4a/25775009071d0fe10000000a42189c/frameset.htm
http://help.sap.com/erp2005_ehp_04/helpdata/en/6f/d02041cfb7f423e10000000a155106/content.htm -
IN IPAD AIR How can i send an e-mail to several mail adress typing a group name, similar procedure used un gmail wich is very frendly
Before all these updates, one used to be able to create a Group (such as Buddy List), then send emails by clicking on that Group Name. Has not worked for a long time now, though. I wish they would bring it back.
-
I am from argentina and i dont remember the answers of my id… can you send me the answers to my Mail?
Thank you AppleNobody on these boards can do that. Click here, fill out the form, tell them that there's no number for Argentina, and see what they say.
(105413) -
i want to make an identity card of my dad. he is a government employee. so can you send me whole method to make it using Photoshop CS2 ? please its urgent
Identity cards are not things individuals typically make.
You can get yourself into big trouble forging fake IDs.
-Noel -
i am using systec usbmodule1 to send and receive CAN messages , is any one have tried this in labview?, if yes can you send me the code
thanks
Solved!
Go to Solution.Hey,
All of our CAN drivers have been written for National Instruments' CAN hardware (referenced here : http://digital.ni.com/public.nsf/allkb/E2C6ED025C798C5586256F4E00520448 ). Thus, you will have to code all your communication manually, unless Systec provides a LabVIEW driver. There might be various dll files that Systec provides for communication, which you will be able to access through LabVIEW. Take a look at the Call Library Function Node, which can be found from the Functions Palette under Connectivity -> Libraries & Executables. Here you can call a dll file, and also the individual functions within that dll.
I would suggest posting your question either to the LabVIEW forum, as previously mentioned, or to the CAN forum found here : http://forums.ni.com/ni/board?board.id=30
Justin E
National Instruments R&D -
How to update the sent mail using SO_NEW_DOCUMENT_ATT_SEND_API1
I have a requirement to update/ append the sent mail like a trail.Since i am sending mails using SO_NEW_DOCUMENT_ATT_SEND_API1, how can i update new contents to sent mails using this RFC???Please help me.
you may have to store content of each time mail send then only, you can send with history.
-
HT4970 Can you send someone a reminder or task?
When using reminders and tasks in iOS 6. Can you send a reminder or task to someone using iMessage or email?
Yes - use the Share menu...Send via Mail.
Or save it to your drive, put it on a server and give them the link.
See iBooks Author Help for details. -
Hi,
I am sending an e-mail using java. It works fine, but I wanted to know if there is any possibility to attach a document, without using a File object. Because I have to write the File object and then delete it at the end. I would like to know if I can use for example a byte [], or something else.
Thank you very much.
This is my code, if that helps.
public static void sendWithAttach(String p_sender, String p_receiver, String p_subject,
String p_comment, int p_nombrePiecesJoints, HashMap<String, byte[]> p_files) {
Properties props = System.getProperties();
props.put("mail.smtp.host", Solapcore.getCurrent().getServletConfig().getServletContext().getInitParameter("SMTP"));
Session session = Session.getDefaultInstance(props, null);
MimeMessage sender = new MimeMessage(session);
MimeBodyPart mbp1 = new MimeBodyPart();
Multipart mp = new MimeMultipart();
List<File> listeFiles = new ArrayList<File>();
try {
//On assigne to, from, subject, body, priority
sender.setRecipients(javax.mail.Message.RecipientType.TO,
InternetAddress.parse(p_receiver, false));
sender.setFrom(new InternetAddress(p_sender));
sender.setSubject(p_subject);
mbp1.setText(p_comment);
//sender.setPriority(0);
mp.addBodyPart(mbp1);
//On attache les documents
for(Map.Entry<String, byte[]> entry : p_files.entrySet()) {
MimeBodyPart mbp2 = new MimeBodyPart();
String fileName = entry.getKey();
byte [] dataFile = entry.getValue();
File file = new File(fileName);
FileOutputStream fos = new FileOutputStream(file);
fos.write(dataFile);
mbp2.attachFile(file);
mbp2.setFileName(fileName);
mp.addBodyPart(mbp2);
listeFiles.add(file);
sender.setContent(mp);
Transport.send(sender);
}catch(MessagingException mex) {
mex.printStackTrace();
}catch(FileNotFoundException fnf) {
fnf.printStackTrace();
}catch(IOException ioe) {
ioe.printStackTrace();
}finally {
Iterator<File> itListeFiles = listeFiles.iterator();
while(itListeFiles.hasNext()) {
File tempFile = (File)itListeFiles.next();
tempFile.delete();
}Thank you very much.
public static void sendWithAttach(String p_sender, String p_receiver, String p_subject,
String p_comment, int p_nombrePiecesJoints, HashMap<String, byte[]> p_files) {
Properties props = System.getProperties();
props.put("mail.smtp.host", Solapcore.getCurrent().getServletConfig().getServletContext().getInitParameter("SMTP"));
Session session = Session.getDefaultInstance(props, null);
MimeMessage sender = new MimeMessage(session);
MimeBodyPart mbp1 = new MimeBodyPart();
Multipart mp = new MimeMultipart();
List<File> listeFiles = new ArrayList<File>();
try {
//On assigne to, from, subject, body, priority
sender.setRecipients(javax.mail.Message.RecipientType.TO,
InternetAddress.parse(p_receiver, false));
sender.setFrom(new InternetAddress(p_sender));
sender.setSubject(p_subject);
mbp1.setText(p_comment);
//sender.setPriority(0);
mp.addBodyPart(mbp1);
//On attache les documents
for(Map.Entry<String, byte[]> entry : p_files.entrySet()) {
MimeBodyPart mbp2 = new MimeBodyPart();
String fileName = entry.getKey();
byte [] dataFile = entry.getValue();
File file = new File(fileName);
FileOutputStream fos = new FileOutputStream(file);
fos.write(dataFile);
mbp2.attachFile(file);
mbp2.setFileName(fileName);
mp.addBodyPart(mbp2);
listeFiles.add(file);
sender.setContent(mp);
Transport.send(sender);
}catch(MessagingException mex) {
mex.printStackTrace();
}catch(FileNotFoundException fnf) {
fnf.printStackTrace();
}catch(IOException ioe) {
ioe.printStackTrace();
}finally {
Iterator<File> itListeFiles = listeFiles.iterator();
while(itListeFiles.hasNext()) {
File tempFile = (File)itListeFiles.next();
tempFile.delete();
} -
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. -
I have lost my sent box and can't send any e.mails
I can't send any e.mails out It would appear that I have lost everything to do with my sent box
Hi mummyh66xx,
What is your email provider? Is it Yahoo!, Gmail, Hotmail, MSN, or possibly another provider?
If your emails have disappeared from your Sent folder, it's likely that it's related to your email provider, regardless of the browser you are using to navigate.
We suggest you contact the Support team of the email provider you are using, so that they can further investigate the issue and possibly recover your lost emails.
Best of luck! Please let us know if you have any other questions.
Thanks!!
- Ralph -
Can't send attachments in mail since upgrading
Hi-
Since upgrading, I can't send attachements in Mail. The filenames appear all grayed out and they can't be highlighted. In order to attach, I have to open through Finder and drag over into Mail.
What gives?
sUsability and interface issues with Gmail aside, I did figure something out. (I don't really use Gmail, it just seemed like a good at the time when I was setting up an account for a friend so I could help out with issues.)
I couldn't add attachments to a new message either. In fact, when I clicked the link to add an attachment, the link disappeared. I discarded the message, opened a new one, click the add attachment link, and the link disappeared again.
Turning off the blocking of pop-up windows didn't change the outcome.
So I opened a new message and looked around.
I noticed a little icon in the upper right of the message, just above the To: field, a sort of double square with an arrow in it. It looked almost like icon used on Windows to indicate maximizing the window for full screen, except it had an arrow that looked like the "Forward" arrow when you want to forward a message instead of replying. No tool tip came up so I decided to try it.
This made the message disappear, and popped open a new smaller window which eventually loaded the message. Looked about the same as before but without the rest of Gmail. Curiously, the add attachments link actually worked, without disappearing. A dialog popped open (looked like from the OS, not a browser window) and I was able to select a file. It appeared listed below the subject and above the message, with a progress indicator that took several seconds (half a minute?) before any progress happened. It did eventually get started and completed the upload. -
I can't send hotmail e-mails from my IPad. My id and passwords are correct
I can't send hotmail e-mails from my IPad. My ID and password are correct.
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say “Cannot Connect to Server”?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
Importing a Contact List CSV to the iPad
http://techchannel.radioshack.com/importing-contact-list-csv-ipad-2235.html
iOS: ‘Mailbox Locked’, account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
How to delete an email account on your iPad
http://www.shoppepro.com/support/knowledgebase/228/How-to-delete-an-email-accoun t-on-your-iPad.html
Cheers, Tom -
How can i send and recieve mail through java
HI All,
plz let me know how can i send and receive mail through java.
Regards:
sachin kakkar
http://www.datamansoftwares.comUsing java mail API..
try to search the forum for java mail... you find many question and answer.
use the left search textfield
Maybe you are looking for
-
How to create a SCCM 2012 Custom Requirement for OS Architecture?
Hey guys, I'm using the application model to deploy several 32-Bit and 64-Bit apps and I'm looking to simplify things a bit. Right now I'm using the built-in requirements to specify the supported OS Architectures for my 32-Bit/64-Bit only application
-
Can't use my phone as hotspot anymore!(after updating the iOS)
So I just updated my very new iPhone; from iOS 5.0.1 to iOS 5.1.1. The problem is that I used to use my phone as a hotspot for my laptop(HP Pavillion), but now it isn't working! I had some trouble with my former iphone 4S but then I got a completely
-
I cant share photos online -Nokia E75
I have problem with photo sharing online. try with Ovi- every time some error. What can I do?
-
Setup of a standby and a streams - architectural question
Hi, I am thinking about a standby (prodstdby) for my Production (prod) database. For another part of the company we need to setup streams (HIS), this will copy only a part of the database ( some sort of archiving) to a database called HIS. During the
-
How to balance exposure in multiple images?
I will be shooting a series of photos that inludes a gray card in each image. How can I use Lightroom to obtain the same exposure in each image relative to the gray card?