Virus in Auto generated mail sent by SAP
Hi ,
One of our user has received virus in sales order confirmation mail. Mail was sent directly from SAP to User.
We are working on hardware part to check the virus but do we have anything to block virus at SAP level or in SOST , SCOT anywhere in messaging loop can we find any virus information.
Please suggest.
Shivam
I would first check if the user who send that mail was indeed the SAP system - or if it was another using faking the identity to be allegedly from the SAP system.
Markus
Similar Messages
-
.Once the billing document is saved, then an auto-generated mail along with
please provide me with solution on this real time ticket..
Once the billing document is saved, then an auto-generated mail along with PDF copy of invoice has to trigger to customer contact person.please provide me with solution on this real time ticket..
Once the billing document is saved, then an auto-generated mail along with PDF copy of invoice has to trigger to customer contact person. -
To Call a transaction from message body of an e-mail sent from SAP
I have requirement to call a transaction (say MM03) when I click on some text ( Like Hyperlink ) in the message body of an email sent by SAP.
Please let me know how it should be done.I dont know whether you can do hyperlink in the mail but i can think of following 2 options:
1) Use Workflow and send it to user and then attach transaction MM03 to that so that when user receives message, he/she can directly open MM03.
2) In report, you can have hyperlink. -
Auto-Generate mail for database performace reporting.
Hello,
i have many server to keep an eye on for maintenance but, now the number for it is growing day by day. Its difficult for me to keep a watch on each in detail. So I have an idea to implement.
I want to make a script which will auto generate a mail from the server & send it to my email id with all the details of database. Basically performance related details.+
Is it possible to do so ???? I know how to send a mail with attachment, the code i will use is given below.+
please suggest me how can i attach my performance tuning queries output & get those things in my mail on a daily basis......
thanks in advance .....
DECLARE
v_From VARCHAR2(80) := '[email protected]';
v_Recipient VARCHAR2(80) := '[email protected]';
v_Subject VARCHAR2(80) := 'test subject';
v_Mail_Host VARCHAR2(30) := 'mail.mycompany.com';
v_Mail_Conn utl_smtp.Connection;
crlf VARCHAR2(2) := chr(13)||chr(10);
BEGIN
v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
utl_smtp.Mail(v_Mail_Conn, v_From);
utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
utl_smtp.Data(v_Mail_Conn,
'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
'From: ' || v_From || crlf ||
'Subject: '|| v_Subject || crlf ||
'To: ' || v_Recipient || crlf ||
'MIME-Version: 1.0'|| crlf || -- Use MIME mail standard
'Content-Type: multipart/mixed;'|| crlf ||
' boundary="-----SECBOUND"'|| crlf ||
crlf ||
'-------SECBOUND'|| crlf ||
'Content-Type: text/plain;'|| crlf ||
'Content-Transfer_Encoding: 7bit'|| crlf ||
crlf ||
'some message text'|| crlf || -- Message body
'more message text'|| crlf ||
crlf ||
'-------SECBOUND'|| crlf ||
'Content-Type: text/plain;'|| crlf ||
' name="excel.csv"'|| crlf ||
'Content-Transfer_Encoding: 8bit'|| crlf ||
'Content-Disposition: attachment;'|| crlf ||
' filename="excel.csv"'|| crlf ||
crlf ||
'CSV,file,attachement'|| crlf || -- Content of attachment
crlf ||
'-------SECBOUND--' -- End MIME mail
utl_smtp.Quit(v_mail_conn);
EXCEPTION
WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
END;
/I like your script idea.
You can spool output to a file and mail the file to yourself.
What OS are you running?
On linux a simple starter script would look like this:
#!/bin/bash
echo `date`
# Set the Environmental variable for TESTDB instance
. /u01/app/oracle/dba_tool/env/TESTDB.env
$ORACLE_HOME/bin/sqlplus -s system/<PASSWORD> <<EOF
@/u01/app/oracle/dba_tool/TESTDB/quickaudit
EOF
echo `date`
mailx -s "Check database on TESTDB" [email protected] < /tmp/quickaudit.lst
----------------------sample ENV file--------------------------------------
ORACLE_BASE=/u01/app/oracle
ULIMIT=unlimited
ORACLE_SID=TESTDB
export ORACLE_TERM=xterm
ORACLE_HOME=$ORACLE_BASE/product/11.2.0
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
LIBPATH=$LD_LIBRARY_PATH:/usr/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:
export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
export ORACLE_HOME
export LIBPATH LD_LIBRARY_PATH ORA_NLS33
export TNS_ADMIN
export PATH
--------------------Starter reporting script--------------------------------------------------
SET ECHO OFF
SET TERMOUT OFF
REM Revisions:
REM Date ID Version Description
REM -------- -- ------- ----------------------------------------------------|
REM 10/07/05 1.0 Script to check for database issues
SPOOL /tmp/quickaudit.lst
SELECT SYSDATE FROM DUAL;
SHOW USER
SET TERMOUT ON
SET VERIFY OFF
SET FEEDBACK ON
PROMPT
PROMPT Checking database name and archive mode
PROMPT
column NAME format A9
column LOG_MODE format A12
SELECT NAME,CREATED, LOG_MODE FROM V$DATABASE;
PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT
PROMPT
PROMPT Checking database versions
PROMPT
column BANNER format A64
select * from v$version;
PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT
PROMPT
PROMPT Checking control file(s)
PROMPT
column STATUS format a7
column NAME format a68
column IS_RECOVERY_DEST_FILE format a3
set linesize 110
SELECT * FROM V$CONTROLFILE;
PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT
PROMPT
PROMPT Checking redo logs and group(s)
PROMPT
column member format a70
set linesize 110
set pagesize 30
SELECT group#, member FROM v$logfile;
PROMPT
PROMPT -----------------------------------------------------------------------|
PROMPT
PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT
PROMPT
PROMPT Checking freespace by tablespace
PROMPT
column dummy noprint
column pct_used format 999.9 heading "%|Used"
column name format a16 heading "Tablespace Name"
column bytes format 9,999,999,999,999 heading "Total Bytes"
column used format 99,999,999,999 heading "Used"
column free format 999,999,999,999 heading "Free"
break on report
compute sum of bytes on report
compute sum of free on report
compute sum of used on report
set termout off
set pagesize 40
select a.tablespace_name name,
b.tablespace_name dummy,
sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) bytes,
sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) -
sum(a.bytes)/count( distinct b.file_id ) used,
sum(a.bytes)/count( distinct b.file_id ) free,
100 * ( (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) -
(sum(a.bytes)/count( distinct b.file_id ) )) /
(sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) pct_used
from sys.dba_free_space a, sys.dba_data_files b
where a.tablespace_name = b.tablespace_name
group by a.tablespace_name, b.tablespace_name;
PROMPT
PROMPT ------------------------------------------------------------------------|
PROMPT
PROMPT
PROMPT Checking for invalid objects
PROMPT -
RE: Mail sent to SAP inbox-Urgent.
Hi,
I sent mail with attachment( internal table contents) to SAP inbox using the below codw.
DATA: l_text TYPE char255. " Text
*DATA: l_text(280) TYPE c. " Text
DATA: l_lines TYPE i,
l_size TYPE sood-objlen. " Size of Attachment
Mail related
DATA: i_content TYPE soli_tab, " Mail content
i_attach TYPE soli_tab. " Attachment
DATA: l_send_request TYPE REF TO cl_bcs, " E-Mail Send Request
l_document TYPE REF TO cl_document_bcs, " E-Mail Attachment
l_recipient TYPE REF TO if_recipient_bcs, " Distribution List
l_sender TYPE REF TO if_sender_bcs, " Address of Sender
l_uname TYPE salrtdrcpt, " Sender Name(SY-UNAME)
l_bcs_exception TYPE REF TO cx_document_bcs, " BCS Exception
l_addr_exception TYPE REF TO cx_address_bcs, " Address Exception
l_send_exception TYPE REF TO cx_send_req_bcs. " E-Mail sending Exception
DATA: l_recipient_soos TYPE soos1.
*data : p_uname TYPE ad_smtpadr .
FORM send_to_sap_mail .
Preparing body of the Mail
MOVE 'Pending Delivery Documents List' TO l_text.
APPEND l_text TO i_content.
Preparing contents of attachment with Change Log
PERFORM prepare_attachment.
Creates persistent send request
TRY.
l_send_request = cl_bcs=>create_persistent( ).
Creating Document
l_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = i_content[]
i_subject = 'Pending Delivery Documents' ).
DESCRIBE TABLE i_mara LINES l_lines.
DESCRIBE TABLE it_output LINES l_lines.
Size to multiplied by 2 for UNICODE enabled systems
l_size = l_lines * 2 * 255.
Adding Attachment
CALL METHOD l_document->add_attachment
EXPORTING
i_attachment_type = c_ext
i_attachment_size = l_size
i_attachment_subject = 'Pending Delivery Documents'
i_att_content_text = i_attach[].
Add document to send request
CALL METHOD l_send_request->set_document( l_document ).
Get Sender Object
l_uname = sy-uname.
l_sender = cl_sapuser_bcs=>create( l_uname ).
CALL METHOD l_send_request->set_sender
EXPORTING
i_sender = l_sender.
E-Mail
TRANSLATE p_uname TO UPPER CASE.
l_recipient_soos-recesc = 'B'.
l_recipient_soos-recnam = p_uname.
Preparing recepient from SAP Logon Name
CALL METHOD cl_send_request_bcs=>create_recipient_from_soos1
EXPORTING
i_soos1 = l_recipient_soos
RECEIVING
result = l_recipient.
Add Recipient
CALL METHOD l_send_request->add_recipient
EXPORTING
i_recipient = l_recipient
i_express = 'U'
i_copy = ' '
i_blind_copy = ' '
i_no_forward = ' '.
*Trigger E-Mail immediately
l_send_request->set_send_immediately( 'X' ).
CALL METHOD l_send_request->send( ).
COMMIT WORK.
CATCH cx_document_bcs INTO l_bcs_exception.
CATCH cx_send_req_bcs INTO l_send_exception.
CATCH cx_address_bcs INTO l_addr_exception.
ENDTRY.
Refresh it_output.
clear l_text.
clear I_content.
refresh I_attach.
ENDFORM. " Send_to_sap_mail
*& Form prepare_attachment
text
--> p1 text
<-- p2 text
FORM prepare_attachment .
FIELD-SYMBOLS: <lfs_table>, " Internal table structure
<lfs_con>. " Field Content
DATA: l_text TYPE char1024. " Text content for mail attachment
DATA: l_text(1280) TYPE c. " Text content for mail attachment
DATA: l_con(50) TYPE c. " Field Content in character format
Columns to be tab delimeted
LOOP AT it_output ASSIGNING <lfs_table>.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE <lfs_table>
TO <lfs_con>.
IF sy-subrc NE 0.
CONCATENATE c_cr l_text INTO l_text.
APPEND l_text TO i_attach.
EXIT.
ELSE.
CLEAR: l_con.
MOVE <lfs_con> TO l_con.
CONDENSE l_con.
IF sy-index = 1.
CLEAR: l_text.
MOVE l_con TO l_text.
ELSE.
CONCATENATE l_text l_con INTO l_text
SEPARATED BY c_tab.
ENDIF.
ENDIF.
ENDDO.
ENDLOOP.
ENDFORM. " prepare_attachment
Here my problem is in my internal table i have 30 columns and the row output length is more than 255 char,
and the SOLI structure fields defined as CHAR255, thats why when i am opening the sap mail attachment in Excel sheet, last three fields data is not displaying can any one please let me know the answer.loop at output_table.
concatenate g_string
filed1
filed2
CL_ABAP_CHAR_UTILITIES=>CR_LF
into g_string separted by
CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
endloop.
now pass the filled string to
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
text = g_string
IMPORTING
LENGTH = LENGTH
TABLES
ftext_tab = obj_bin.
pass this objbin to SO_NEW_DOCUMENT_ATT_SEND_API1
now you will get the desired excel sheet.
NOte: dont put urgent in your subject.it is arule that people should not ans question which have urgent.
Edited by: S.r.v.r.Kumar on Jun 18, 2008 10:25 PM -
How do you remove or change auto generated text in returned form e-mails?
Hello,
I am currently using Adobe Acrobat 8 Professional (Version 8.1.3) to create a form that will be sent to a group of people. When testing it, I've noticed that when the end user presses the "SUBMIT FORM" button and a new e-mail opens with the completed form attached, the following text is automatically added to the body of the e-mail:
Form Returned: XXXXXXX.pdf
Instructions to add this form to a data set:
1. Double-click the attachment.
2. Acrobat will prompt you to select a data set.
What I need to know is whether or not there is a way to either prevent this auto generated text from appearing or revise it so it gives a custom message instead.
Any insight would be greatly appreciated!
Regards,
JeffIt sounds like you are getting a basic message that is telling you submitting the PDF is unnecessary and asking if you want to submit the data instead. I have not seen this one before, but that is my guess. If you are using the form fields created in Acrobat (not Designer), then just select FDF or XML for the data type to be submitted, not the form.
-
Mail 4.4 Reply Forward Icon Not Displaying for Auto-generated emails
Does anyone have a problem with Mail 4.4...
For auto generated emails (system generated or confirmation emails), when forwarded these email, little icon on the left that pops up, its just simply not showing up...???!!!
And for the all other emails it works like it should...
Anyone? Solution? Help?I finally figured out how to make this work for 2 accounts on exchange. I created my main account and then adding another account that I'm delegated for within the account. I also tried my main account and adding IMAP account with still no luck. What I ended up doing was adding two separate exchange accounts and named them appropriately. This solved the problem of sent messages going to the proper sent items folder and arrows appearing for Reply and Forward email responses on all machines. Works like a charm
-
ADD ATTACHMENT TO AUTO MAIL SENT DURING BIDDER CREATION
HOW TO ADD ATTACHMENT TO AUTO MAIL SENT DURING BIDDER CREATION (CREATE CONTACT PERSON) IN SRM PORTAL..
HOW TO ADD ATTACHMENT TO AUTO MAIL SENT DURING BIDDER CREATION (CREATE CONTACT PERSON) IN SRM PORTAL..
-
Is it possible to trigger a transaction from an email sent to SAP mail box?
Hi All,
I have found a strange requirement where a transaction has to be triggered by double clicking on a line in the email sent to SAP Mail box...!!!
The requirement is, a batch input program has to be executed and an email with error details has to be sent to the address specified in the parameter of the selection screen. If user double clicks on the error details, transaction SM35 should be called to rerun the batch...
Hope I am clear.
Thanks in Advance,
Phani.Hi Phani,
Not sure if this can be achieved using ABAP. But may be possible using workflow. Don't have much idea on workflow :(. Wait for others suggestion.
Regards,
Atish -
PO workflow mail not sent to SAP Inbox
Hi All,
I have created a standard PO workflow WS20000075 , Task TS20000166 and in SPRO i have maintained Object type as "US"(user) and agent is maintained.No agent determination rule is maintained for the task.
When i create and Save PO, system is not triggering workflow to my SAP Inbox.
When i test the workflow using SWDD by giving PO number and release code, i am getting mail to my SAP Inbox
What setting i am missing to trigger the workflow to my SAP Inbox as soon as i save my PO.Hi,
I have verified the setting is SWDD -Basic data, event linkage and binding exists
The event to workflow container details are given below
&_EVT_OBJECT& &PURCHASE ORDER&
&RELEASECODE& &RELEASECODE&
&_EVT_CREATOR& &_WF_INITIATOR&
Please let me know what setup is missing to trigger the workflow automatically -
Can we change the font in the email that is being sent from SAP ?
Hi,
I have a requirement where in we need to change the font for the contents in the mail being generated from SAP.
I am using the FM SO_DOCUMENT_SEND_API1 to send my mail.And the contents are just appened to an internal table as text elements.
Can we change the font in the email that is being sent from SAP to Arial 10points?E-mails generated with that function module are created in plain text format. The font that would appear when reading the e-mail would be dependt on the user's setting for the e-mail application (e.g. Outlook).
To my knowledge, the font cannot be affected during it's creation.
Hope this sheds some light on your issue.
-Mark -
Mail notification from SAP to Outlook
Hi Experts,
I have developed a program in SE38 to send a mail notification to outlook mail from SAP.Can I use this program in standard Tcode IW21to generate a mail notification at the time of saving data?In IW21 only notification is sent to SAP inbox.
Can anyone provide me the steps to insert this code in IW21 Tcode?
Regards,
SamDear a®s,
Thanx for ur valuable suggestion.I added my code in QQMA0014 enhancement and while saving,a notification mail is sant to outlook but I am getting the following Error message.
Object does not exist (status management)
Message no. IM258
Diagnosis
This refers to an error in central status management.
Task status
The central status management connection at task level will only be supported from Release 3.0.
For this reason, no task status is available for statuses created before changing to Release 3.0, and status change is therefore also not possible.
Procedure
In the case of task statuses of notifications in releases prior to 3.0:
When you save a notification you can create a status for the tasks.
In the case of notification or task statuses for notifications from Release 3.0:
Please refer to your system administrator.
Kindly help me to resolve it.
Regards,
Sam -
How to change Auto-generated web service's URL
Hi,
is it possible to change/edit the auto-generated url of a web services created with the wizard in SE80 transaction?
Example:
Now the wizard generates a URL as following:
http://<host name>:8080/sap/bc/srt/wsdl/bndg_4BC67655E5155680E10000000A7B0410/wsdl11/allinone/standard/document?sap-client=001
where the alfa-numeric code 4BC67655E5155680E10000000A7B0410 changes every time I create the service. at the same time and for the reason above, I have to change the LOGICAL DESTINATION with "visual administrator" application to consume the service in SAP Netweaver environment.
Thanks in advance.
LucaHi Luca,
Please refer the below link . it is described that URLs and its Namespaces . Please check whether its useful.
[http://help.sap.com/saphelp_nw70/helpdata/EN/8c/780741375cf16fe10000000a1550b0/frameset.htm] . -
I've recently started using my first Mac, and I hooked my work email (Forwarded to Google Mail) and my personal email (Gmail) into the MacOSX mail client. Everything seemed to be going smoothly, until I noticed that sent mail from my work email through the MacOSX Mail client is not showing up in my sent box on any other clients. Sent mail does show up in my personal email in Gmail, though.
Can anyone help me understand why mail sent from the MacOSX Mail client doesn't end up in the sent folder of my work Gmail account? I suspect it has something to do with the forwarding-to-Google process -- a sort of "too many cooks in the kitchen" situation. Has anyone heard of this problem before? What should I try?I've been noticing that too. Just told me there were 6 outgoing messages, even though I did not create any new messages.
One hypothesis is that it's generating those messages when a rule moves an email from one folder to another.
Can someone at Apple confirm this? -
How can I forward a email without the extra info auto generated by Thunderbird ?
When I foward a emai, Thunderbird auto-generates lots of extra information that is not need to be seen by the person I am forwardind to the message.
How can I configure Thunderbird forward to clean all the extra info auto generated by Thunderbird ?
Best regards
HC''Airmail [[#answer-708174|said]]''
<blockquote>
From the menu bar select View-Headers and set it to Normal instead of All.
The mail system generates all this info and not Thunderbird FYI.
</blockquote>
SOLVED ! :)
Thank you very much for your help :)
HC
Maybe you are looking for
-
How do i get iphone 4 to print on hp photosmart c7180
phone doesn't seem to recognize printer. any clues?
-
Late 2013 Retina MacBook Pro - ODD SEVERE POWER ISSUE?
My late 2013 retina macbook pro 13" was on safari (on battery, not plugged in) and then the screen went black. The screen went back on, then back to black, then back on, then the Macbook shut off completely. Then, it tried rebooting twice, both faili
-
Red light appears over my iphone speaker when charging.
i accidentally washed my phone. So i decided to do the rice treatment.and now when i put it on the charger a red light appears over my speaker. Also when i try to hard reset my phone the red light just flashes.Then after a while the light just goes a
-
Firefox cannot load websites but other browser can
background - family community home pc...mozilla worked great for the longest time (along side IE)...all of a sudden mozilla can't connect to any website...IE always can (yuk) troublshooting steps (still can't connect to web w/firefox): 1. Removed Moz
-
Can I play a download App (Tutorial on iMovie) on my Mac or only iPad?
Purchased then download "Tutor For iMovie" in App Store. It's installed. Can I play it on my Mac or only iPad? If I can, how do you do it? Thanks.