External mail acknowledgement
Hi,
I have sent a pdf attachment through Email.
I need some clarification in the following cases.
How to capture the following scenarious.
1) Email ID of employee is maintained incorrectly in user master
2) for whatever reason, the mail cannot be delivered(mailbox full etc)
3)How will we know whether all the mails sent have in fact been received by the recipient?
Please do the needful.
Thanks in advance
Hi Samson,
our company has a whole packet integration solutions for SAP and IBM Lotus Notes.
If you want to use the SAP XI as an integration architecture for your company, you can choose the product "adapter engine XInotes" from our company. It is certified by the SAP as "Powered by Netweaver" 3rd party software product. It can transfer the Notes documents into the SAP XI system or write the information from XI into the Notes databases. You can connect any other SAP systems(Business One, BW, CRM...) with XI.
It means through SAP XI and our XInotes adapter, you can integrate any SAP systems with Lotus Notes. It is also very easy to build Workflows with the adapter. The adapter supports the synchronous communication. If you send some documents through the adapter to Lotus Notes, the adapter will send an ack back to tell you whether the operation is successful.
If you don't want to use the SAP XI, you can also choose the product "ZeNotes" from our company. It can connect the SAP systems with Lotus Notes directly.
For more information please visit our web site:
http://www.konplan.com/public1/_EN/solutions_start.php
Or you can send me an email([email protected]). I will send you detailed information about the XInotes adpater and ZeNotes.
Kind Regards
Xiang Zhang
Software Developer
konplan gmbh
Similar Messages
-
Can't send smartform to external mail address
Hi, everyone.
Now, after creating some self-defined smartforms, we want to send its
PDF copy to
our external mail address. From this point, I had some try.
Reference to SAP Library, I make a testing program named 'YPDF_TEST'.
However, one exception always exists when running and error message id
is 'XS806' - means
"No delivery to &, invalid recipient address"
I filled the address with following fields.
[ dev_mail_recipient-logsys = 'CLNT600'.
dev_mail_recipient-objtype = 'RECIPIENT'.
dev_mail_recipient-objkey = '[email protected]'. ]
I just can't understand the real reason why it doesn't work.
Through debugging, I found the error occurs when handling the following
codes
in function "SX_ADDRESS_TO_DEVTYPE".
[ swc_create_object o_recipient 'RECIPIENT' recipient_id-objkey.
swc_get_property o_recipient 'CommunicationType' m_recipient-type.
get_property_longvalue o_recipient m_recipient-address. ]
On the current situation, if can't come over this problem,
we may not build the connection and don't provide information in time.
Failed to send, I yet try another function - added the tail but on earthdidn't get it ~~~
Would you give me some hints or advice ?
Any help is appreciated.
====================
<i>REPORT ypdf_test .
DATA: fm_name TYPE rs38l_fnam.
DATA: my_control_pars TYPE ssfctrlop. "for CONTROL_PARAMETERS
DATA: my_output_info TYPE ssfcrescl. "for JOB_OUTPUT_INFO
DATA: output_options TYPE ssfcompop.
DATA: e_devtype TYPE rspoptype.
DATA: gw_lcprint TYPE ziebsflc001.
DATA: bin_file TYPE xstring,
bin_filesize TYPE i,
ndiv TYPE i, offset TYPE i,
nmod TYPE i.
DATA: BEGIN OF bin_table OCCURS 0,
x TYPE xstring,
END OF bin_table.
DATA: lines LIKE tline OCCURS 0.
DATA: dev_mail_sender LIKE swotobjid, "B20K061818
dev_mail_recipient LIKE swotobjid.
DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
DATA: param LIKE itcpp.
my_control_pars-no_dialog = 'X'.
my_control_pars-getotf = 'X'.
Get genereated function name of Smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZDEMO_SMART_FORM_PPF'
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
Get Device type
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = sy-langu
I_APPLICATION = 'SAPDEFAULT'
IMPORTING
e_devtype = e_devtype
EXCEPTIONS
no_language = 1
language_not_installed = 2
no_devtype_found = 3
system_error = 4
OTHERS = 5 .
IF sy-subrc <> 0.
ENDIF.
output_options-tdprinter = e_devtype.
set needed mail option
my_control_pars-device = 'MAIL'.
dev_mail_sender-logsys = 'CLNT600'.
dev_mail_sender-objtype = 'RECIPIENT'.
dev_mail_sender-objkey = 'CHI_DEV03'.
dev_mail_recipient-logsys = 'CLNT600'.
dev_mail_recipient-objtype = 'RECIPIENT'.
dev_mail_recipient-objkey = '[email protected]'.
CALL FUNCTION fm_name
EXPORTING
control_parameters = my_control_pars
mail_recipient = dev_mail_recipient
mail_sender = dev_mail_sender
output_options = output_options
ip_carrid = 'ID'
ip_connid = '8290'
ip_fldate = sy-datum
ip_bookid = '12345678'
ip_customid = '09876521'
ip_luggweight = 90
ip_wunit = 'KG'
ip_smoker = 'X'
IMPORTING
job_output_info = my_output_info
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Another try ***
*DATA: param LIKE itcpp.
*DATA: BEGIN OF off_obj.
INCLUDE STRUCTURE soodk.
*DATA: END OF off_obj,
ok TYPE c,
msgid TYPE symsgid,
msgno TYPE symsgno,
msgv1 TYPE symsgv,
msgv2 TYPE symsgv,
msgv3 TYPE symsgv,
msgv4 TYPE symsgv.
*DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
*CALL FUNCTION 'CONVERT_OTF_AND_MAIL'
EXPORTING
mailoptions = param
mail_sender = dev_mail_sender
mail_recipient = dev_mail_recipient
IMPORTING
office_objid = off_obj
mail_ok = ok
msgno = msgno
msgid = msgid
msgv1 = msgv1
msgv2 = msgv2
msgv3 = msgv3
msgv4 = msgv4
TABLES
mail_application_object_ids = dev_mail_applobj_tab
otf = my_output_info-otfdata.</i>Hi,
You can follow a different approach. Send the output of the Smartform to the spool.
You have a Function Module to read the spool and convert it to PDF . Then there is one more function module to attach the PDF and send it as a mail.
You need to configure SMTP in Tcode : SCOT.
Search the forum with emailpdfattachment
You have umpteen postings available.
Pls reward if useful.
Regards,
Laxman Nayak -
Sending from Business workplace to External mail ID
Hi,
Please Some help me on this issue am getting below error when am trying to send mail from Business Workplace to External Mail
Cannot process message , no route from SAPUSER TO abc123 at gmail dot com
I done configuration by refereeing below.
Please follow these steps:
1.) tcode = SCOT
2.) double click SMTP
3.) under "SMTP Connection" section, fill in your mail host IP(ex: webmail.sap.com) and the port number(25) and code page = No conversion.
4.) under "Supported address types", make sure Internet is checked, and click on "Set". The Address area has to be *
5.) To test route,
SCOT -->Utilities --> Routing test
RecipientAddr.type = INT
Recipient addr. = abc.xyz at sap dot com
6.) You also need to set the Default Domain.
SCOT --> Settings --> Default Domains (webmail.sap.com)
7.)Now go to tcode SBWP,compose a mail and in the recipient address,enter abc.xyz at sap dot com and send.
8.) Come back to SCOT and click on Utilities-->Start send process(CtrlF7) and execute.+
Thanks,
GALHi
Same problem with me.
Mails are not sending to external mail id.
Pls help me out!
Regards. -
Sending external mail using SO_NEW_DOCUMENT_ATT_SEND_API1
When i use this RFC by appending the internal table receiver with receiver: sapuser name and rec_type B it triggers mail to the sap user login .But when i give external email address for receiver with rec_type 'U' it is not triggering any mail.Can anyone please tell me how to use this RFC in sending external mails??
I went back and you are right "INT" was not the REC_TYPE it was the COM_TYPE.
Sorry for any confusion caused.
However,
I suggest 2 more tests and then I give up and can not think about anything else.
Try:
#1
REC_TYPE = 'X'.
if it does not work.
#2
REC_TYPE = 'R'.
Hope that will do the trick. I was trying a lot when I had to get that working some time ago.
And surely the other colleagues point to something which must be setup as well. Transaction SCOT the SMTP settings.
Furthermore there could be another issue. I remember that I worked at a client who had turned off the send settings on their email server. So SAP finished everything and handed the emails on to a mail server. The mail server had a setting to block any emails from the development environment.
So that might be another cause of your issue. -
How to send "SPOOL" on SAP MAil or external mail in background???
I tried using 'SO_DOCUMENT_REPOSITORY_MANAGER' function but it failed when I run it in background. I learned that it calls a screen at the middle of the process which needs user input to go on with the process.
Is there other way that I could send spool on SAPMail or external Mail in background??? Any suggesstions will be greatly appreciated.. thanx...see below sample function module, you can use in backgroud also
FUNCTION Z_SEND_MAIL_FOR_SPOOLLIST.
""Local interface:
*" IMPORTING
*" VALUE(SPOOLNUMBER) LIKE SY-SPONO DEFAULT SY-SPONO
*" VALUE(MAILNAME) LIKE SOOD1-OBJNAM DEFAULT 'NOTE'
*" VALUE(SUBJECT) LIKE SOOD1-OBJDES
*" VALUE(RECEPIENT) LIKE SY-UNAME OPTIONAL
*" VALUE(DLI) LIKE SOOS1-DLINAM OPTIONAL
*" TABLES
*" TEXT STRUCTURE SOLI OPTIONAL
*" EXCEPTIONS
*" ERROR
DATA: OBJECT_HD_CHANGE LIKE SOOD1 OCCURS 0 WITH HEADER LINE,
OBJPARA LIKE SELC OCCURS 0 WITH HEADER LINE,
RECEIVERS LIKE SOOS1 OCCURS 0 WITH HEADER LINE.
OBJECT_HD_CHANGE-OBJLA = SY-LANGU.
OBJECT_HD_CHANGE-OBJNAM = MAILNAME.
OBJECT_HD_CHANGE-OBJDES = SUBJECT.
OBJECT_HD_CHANGE-OBJSNS = 'F'.
OBJECT_HD_CHANGE-VMTYP = 'T'.
OBJECT_HD_CHANGE-SKIPS = 'X'.
OBJECT_HD_CHANGE-ACNAM = 'SP01'.
OBJECT_HD_CHANGE-OBJCP = 'X'.
RECEIVERS-RCDAT = SY-DATUM.
RECEIVERS-RCTIM = SY-UZEIT.
IF DLI IS INITIAL.
RECEIVERS-RECNAM = RECEPIENT.
RECEIVERS-RTUNAM = RECEPIENT.
ELSE.
RECEIVERS-RECNAM = DLI.
RECEIVERS-ADR_NAME = DLI.
RECEIVERS-RECESC = 'C'.
ENDIF.
RECEIVERS-SNDEX = 'X'. " Express-Mail
APPEND RECEIVERS.
OBJPARA-NAME = 'SPI'.
OBJPARA-LOW = SPOOLNUMBER.
APPEND OBJPARA.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
OBJECT_HD_CHANGE = OBJECT_HD_CHANGE
OBJECT_TYPE = 'RAW'
OWNER = SY-UNAME
TABLES
OBJCONT = TEXT
OBJPARA = OBJPARA
RECEIVERS = RECEIVERS
EXCEPTIONS
OTHERS = 01.
IF SY-SUBRC NE 0.
RAISE ERROR.
ENDIF.
ENDFUNCTION. -
Send Mail to External Mail ID's for Multiple Users
Hi All,
I want to send mail from SAP to External mail ID's for multiple Users.The program is ok.
But I want to send this to Multiple external Mail id's. Where should I assign this receivers list. Pls advise.
What is the transaction to assign multiple receivers.?
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = GD_DOC_DATA
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = ''
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.
Thank You.
Pranitha.IT_RECEIVERS parameters needs to be passed as shown below.
wa_receivers-receiver = "..........External mail id".
wa_receivers-rec_type = 'U'.
wa_receivers-express = 'X'.
APPEND wa_receivers TO lt_receivers.
CLEAR wa_receivers.
Once mail is triggered to the external mail id's, check the mail is transferred from SAP or not using the tcode SCOT.
In SCOT,follow the path UTILITIES-> Overview of send orders.
Regards,
Satish Kanteti -
I've added a external mail contact for all my mailbox users because all the users have other jobs and other external email addresses. Since these users don't normally log on to my domain to get email, I need to create a distribution list with all their
external email addresses. I've scripted the creation of all the external mail contacts, from the mailbox users and I use AD's Notes field to contain the users external address. When using add-DistributionGroupMember and supplying the external mail
contact email address as the "-Member" param, about half of the time the users mailbox user gets added to the group instead of the external contact. I don't see any arguments to tell add-DistributionGroupMember to use only mail contacts.
1) I don't even know how it's finding the mailbox user because I'm supplying an external email address which is only in the external mail contact.
2) Some members of the group are correctly added as external contacts, some are mailbox users.
3) I only want the external mail contacts in the group
If it helps, here's the line that I use to add members to the group. I've tried mail enabling the mail contacts, no help...
Add-DistributionGroupMember–identity“AltEveryone”–member(get-QADuser$_.Name).Notes
Thanks for any help.You should ask questions like this in the Exchange forum. It is not a scripting question but is a product behavior question.
You cannot add an external contact without first creating the contact first.
¯\_(ツ)_/¯ -
Problems in sent of external MAIL with the service SAPCONNECT
Hello all
We configured the service SAPCONNECT in my system quality for sending the mail and this is not problem, I executed tests with direction of mail internal and the are sent without any problem.
But the problems starts is when I sent the mail external and the message that displays is
Status received for this document:
System Messages
Sent on:
25.01.2011 11:29:07
Sent by:
Marco Gerardo Ceballos V.
Status for Recipient xxxxxxx@aaaaa:
No delivery to xxxxxx@aaaaa, as recipient unknown
The request of area of development is send the external mails.
I review the configuration in the transaction SCOT and I not see a problem.
ATTE
Gerardo CeballosHi,
Please check the parameter icm/server_port_1, if this parameter is not set, add in TX RZ10 with the value:
PROT=SMTP,PORT=25
Restart the instance, then create a service user with the S_A.SCON profile.
In the SICF, open the SAPCONNECT service and check the configuration:
Host data: profile parameter = 0 // host configuration= :
Logon Data: Add the service user that you create
Handler List: CL_SMTP_EXT_SAPCONNECT
Save and active
In the SCOT add the domain in menu settings and add the mailhost and port in the SMTP node, Click the button SET in the internet option and add a * in field address area.
Go to SMICM --> Go to --> Services and check that the port that you add in the parameter icm/server_port_1 is active
Go to SBWP and send the message.
Good Luck
AG -
Can't receive from external mail
I has look through the forum but unable to find a solution to my problem, so I hope someone here can help.
I just upgrade one of our server from Tiger 10.4.11 to Leopard Server 10.5.5, now we only can send and receive inside our lan, but only can send, can't receive from outside our lan.
As far as I can tell all our MX, and PTR are fine and we are not in any of the RBL.
I think the problem might have something to do with NAT, but not sure where to check.
Here is the postconf output
xserve:~ root# postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:http://127.0.0.1:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = _postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
messagesizelimit = 10485760
mydestination = $myhostname,localhost.$mydomain,localhost,douglaspark.school.nz,mail.douglaspar k.school.nz
mydomain = douglaspark.school.nz
mydomain_fallback = localhost
myhostname = mail.douglaspark.school.nz
mynetworks = 127.0.0.0/8,10.0.1.0/24,202.174.163.117
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpdclientrestrictions = permit_mynetworks zen.spamhaus.org permit
smtpdenforcetls = yes
smtpdpw_server_securityoptions = cram-md5,plain,login
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_certfile = /etc/certificates/mail.douglaspark.school.nz.crt
smtpdtls_keyfile = /etc/certificates/mail.douglaspark.school.nz.key
smtpduse_pwserver = yes
smtpdusetls = yes
unknownlocal_recipient_rejectcode = 550
Here is the Delivery Notification.
This report relates to a message you sent with the following header fields:
Message-id: <1222931212.48e4730c39ea4@www.*.net.nz>
Date: Thu, 02 Oct 2008 20:06:52 +1300 (NZDT)
From: *@paradise.net.nz
To: Sochet Ly <***@douglaspark.school.nz>
Subject: Re: test
Your message cannot be delivered to the following recipients:
Recipient address: ****@douglaspark.school.nz
Reason: Server rejected MAIL FROM address.
Diagnostic code: smtp;530 5.7.0 Must issue a STARTTLS command first
Remote system: dns;mail.douglaspark.school.nz
(TCP|203.97.33.68|59550|202.174.163.117|25)
Reporting-MTA: dns;smtp5.clear.net.nz (tcp-daemon)
Original-recipient: rfc822;*@douglaspark.school.nz
Final-recipient: rfc822;*@douglaspark.school.nz
Action: failed
Status: 5.0.0 (Server rejected MAIL FROM address.)
Remote-MTA: dns;mail.douglaspark.school.nz
(TCP|203.97.33.68|59550|202.174.163.117|25)
Diagnostic-code: smtp;530 5.7.0 Must issue a STARTTLS command first
Thanks in advance.
<edited by host>Hi pterobyte,
I set logging level to information, and then send myself an email inside our lan, send and receive ok, also sent an email to my external email address, then reply from external mail address here is the mail.log
Oct 3 12:18:53 xserve postfix/smtpd[37952]: connect from xserve.douglaspark.school.nz[202.174.163.117]
Oct 3 12:18:54 xserve postfix/smtpd[37952]: 147EC26C229: client=xserve.douglaspark.school.nz[202.174.163.117], sasl_method=CRAM-MD5, sasl_username=sochetly
Oct 3 12:18:54 xserve postfix/cleanup[37958]: 147EC26C229: message-id=<[email protected]>
Oct 3 12:18:54 xserve postfix/qmgr[84]: 147EC26C229: from=<*@douglaspark.school.nz>, size=647, nrcpt=1 (queue active)
Oct 3 12:18:57 xserve postfix/smtpd[37966]: connect from localhost[127.0.0.1]
Oct 3 12:18:57 xserve postfix/smtpd[37966]: 59AD026C246: client=localhost[127.0.0.1]
Oct 3 12:18:57 xserve postfix/cleanup[37958]: 59AD026C246: message-id=<096B6230-9CCE-4451-B018-A509BFAD7DBC@**.school.nz>
Oct 3 12:18:57 xserve postfix/qmgr[84]: 59AD026C246: from=<**@douglaspark.school.nz>, size=1306, nrcpt=1 (queue active)
Oct 3 12:18:57 xserve postfix/smtpd[37966]: disconnect from localhost[127.0.0.1]
Oct 3 12:18:57 xserve postfix/smtp[37959]: 147EC26C229: to=<*@douglaspark.school.nz>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.4, delays=0.09/0.17/0.03/3.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 59AD026C246)
Oct 3 12:18:57 xserve postfix/qmgr[84]: 147EC26C229: removed
Oct 3 12:18:57 xserve postfix/pipe[37969]: 59AD026C246: to=<*@douglaspark.school.nz>, relay=cyrus, delay=0.53, delays=0.01/0.07/0/0.45, dsn=2.0.0, status=sent (delivered via cyrus service)
Oct 3 12:18:57 xserve postfix/qmgr[84]: 59AD026C246: removed
Oct 3 12:19:33 xserve postfix/smtpd[37952]: 5DFD426C264: client=xserve.douglaspark.school.nz[202.174.163.117], sasl_method=CRAM-MD5, sasl_username=sochetly
Oct 3 12:19:33 xserve postfix/cleanup[37958]: 5DFD426C264: message-id=<[email protected]>
Oct 3 12:19:33 xserve postfix/qmgr[84]: 5DFD426C264: from=<*@douglaspark.school.nz>, size=618, nrcpt=1 (queue active)
Oct 3 12:19:35 xserve postfix/smtpd[37966]: connect from localhost[127.0.0.1]
Oct 3 12:19:35 xserve postfix/smtpd[37966]: 84FFE26C28B: client=localhost[127.0.0.1]
Oct 3 12:19:35 xserve postfix/cleanup[37958]: 84FFE26C28B: message-id=<[email protected]>
Oct 3 12:19:35 xserve postfix/qmgr[84]: 84FFE26C28B: from=<**@douglaspark.school.nz>, size=1099, nrcpt=1 (queue active)
Oct 3 12:19:35 xserve postfix/smtpd[37966]: disconnect from localhost[127.0.0.1]
Oct 3 12:19:35 xserve postfix/smtp[37959]: 5DFD426C264: to=<*@paradise.net.nz>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.3, delays=0.03/0.01/0.04/2.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 84FFE26C28B)
Oct 3 12:19:35 xserve postfix/qmgr[84]: 5DFD426C264: removed
Oct 3 12:19:36 xserve postfix/smtp[38021]: 84FFE26C28B: to=<**@paradise.net.nz>, relay=mx.paradise.net.nz[203.97.33.212]:25, delay=0.86, delays=0.01/0.02/0.58/0.26, dsn=2.0.0, status=sent (250 ok: Message 551665631 accepted)
Oct 3 12:19:36 xserve postfix/qmgr[84]: 84FFE26C28B: removed
Oct 3 12:20:14 xserve postfix/smtpd[38034]: connect from smtp5.clear.net.nz[203.97.33.68]
Oct 3 12:20:17 xserve postfix/smtpd[38034]: disconnect from smtp5.clear.net.nz[203.97.33.68]
I can see it connected from my ISP server, but then in disconnect straight away.
and here is some recent mailaccess.log
ct 3 12:14:04 xserve pop3s[37852]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits new) no authentication
Oct 3 12:14:04 xserve pop3s[37852]: login: [10.0.1.83] supportstaff APOP+TLS User logged in
Oct 3 12:18:27 xserve imaps[37939]: TLS server engine: cannot load CA data
Oct 3 12:18:27 xserve imaps[37939]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits new) no authentication
Oct 3 12:18:29 xserve imaps[37939]: login: xserve.douglaspark.school.nz [202.174.163.117] sochetly CRAM-MD5+TLS User logged in
Oct 3 12:18:29 xserve imaps[37943]: TLS server engine: cannot load CA data
Oct 3 12:18:29 xserve imaps[37943]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits reused) no authentication
Oct 3 12:18:29 xserve imaps[37943]: login: xserve.douglaspark.school.nz [202.174.163.117] sochetly CRAM-MD5+TLS User logged in
Oct 3 12:18:29 xserve imaps[37943]: skiplist: recovered /var/imap/user/s/sochetly.seen (2 records, 2848 bytes) in 0 seconds
Oct 3 12:18:29 xserve imaps[37944]: TLS server engine: cannot load CA data
Oct 3 12:18:29 xserve imaps[37944]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits reused) no authentication
Oct 3 12:18:29 xserve imaps[37944]: login: xserve.douglaspark.school.nz [202.174.163.117] sochetly CRAM-MD5+TLS User logged in
Oct 3 12:18:32 xserve imaps[37939]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits reused) no authentication
Oct 3 12:18:32 xserve imaps[37939]: login: xserve.douglaspark.school.nz [202.174.163.117] sochetly CRAM-MD5+TLS User logged in
Oct 3 12:18:32 xserve imaps[37946]: TLS server engine: cannot load CA data
Oct 3 12:18:32 xserve imaps[37946]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits reused) no authentication
Oct 3 12:18:32 xserve imaps[37946]: login: xserve.douglaspark.school.nz [202.174.163.117] sochetly CRAM-MD5+TLS User logged in
Oct 3 12:18:37 xserve imaps[37946]: Expunged 10 messages from user.sochetly.Sent Messages
Oct 3 12:18:57 xserve lmtpunix[37971]: Delivered: <[email protected]> to mailbox: user.sochetly
Oct 3 12:19:03 xserve imaps[37943]: Expunged 9 messages from user.sochetly
Oct 3 12:19:04 xserve pop3s[37977]: TLS server engine: cannot load CA data
Oct 3 12:19:04 xserve pop3s[37977]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits new) no authentication
Oct 3 12:19:04 xserve pop3s[37977]: login: [10.0.1.83] supportstaff APOP+TLS User logged in
Oct 3 12:24:04 xserve pop3s[38238]: TLS server engine: cannot load CA data
Oct 3 12:24:04 xserve pop3s[38238]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits new) no authentication
Oct 3 12:24:04 xserve pop3s[38238]: login: [10.0.1.83] supportstaff APOP+TLS User logged in
Can you tell me what is this message mean.
TLS server engine: cannot load CA data.
Thanks.
Jet
<edited by host> -
Send notification to external mail id when work item reach users inbox
hi all ,
i would like to know wat are all the settings required for sending an external mail when a user recieves a work item. i think it can be done by running the program rswuwfml .but wat are all the settings required to be done before running the program .....
Useful answers will be rewarded.......What the??!!!! I totally missed this before and actually found it quite acidentally....
>Yep true! Totally agree with Kjtetil, it adds to an already noisy forum and I am >afraid if others start aping it will be brought down on level with the XYZ forum. >And we don't want that!
>Anyone volunteering to have the 'M' flag?
Though I cannot comprehend what you are trying to get at or say I will, attempt to set the record straight.
Yes I have said that on another thread. I am not asking for points anywhere, I am happy to receive and happier to solve someone's problem.
The issue with this thread is the author obviously has not bothered to do any investigation. I am not for spoon feeding just for the sake of some points, I am willing to help those who do some bit from their end as well who encounter a genuine stumbling block.
My reference to "reward" was with a bit of sarcasm, if you know what that means. -
External mail:attachement part....
Hai,
we have developed a workflow for sales order.Once sales order creation & approval done the mail should go to customer(external mail).
The below code(sample code got from internet & modified) is works fine .But do not want to send attachement.We want to remove attachement part from the coding.Ie we want to send only message,not attachement.
Any tips?
Points will be given......Jaheer.
TABLES: VBAK.
PARAMETERS: Email TYPE somlreci1-receiver.
TYPES: BEGIN OF T_VBAK,
VBELN TYPE VBAK-VBELN,
VKORG TYPE VBAK-VKORG,
VTWEG TYPE VBAK-VTWEG,
SPART TYPE VBAK-SPART,
END OF T_VBAK.
DATA: IT_VBAK TYPE STANDARD TABLE OF T_VBAK INITIAL SIZE 0,
WA_VBAK TYPE T_VBAK.
TYPES: BEGIN OF T_CHARVBAK,
VBELN(10) TYPE c,
VKORG(5) TYPE c,
VTWEG(8) TYPE c,
SPART(18) TYPE c,
END OF T_CHARVBAK.
DATA: WA_CHARVBAK TYPE T_CHARVBAK.
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.
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,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM build_xls_data_table.
END-OF-SELECTION.
perform populate_email_message_body.
write: 'Dear customer,'.
write:/20 'your sales document number has been approved:',vbak-vbeln
/40 'Best Regards'.
skip 1.
write:/20 'Name :----
write:/20 'Signature:----
write:/20 'Date :',sy-datum.
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using Email
'CUSTOMER .xls documnet attachment'
'XLS'
'CUSTOMER'
changing gd_error
gd_reciever.
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data from vbeln table and populate itab it_vbak
FORM data_retrieval.
INCLUDE <CNTN01>.
DATA:CONTAINER LIKE SWCONT OCCURS 0 WITH HEADER LINE.
DATA obj_key TYPE swo_typeid. " Object key
SWC_SET_ELEMENT CONTAINER 'AUN' vbak-vbeln.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
OBJECT_TYPE = 'BUS2096'
OBJECT_KEY = OBJ_KEY
EVENT = 'ASSIGNED'
COMMIT_WORK = 'X'
EVENT_LANGUAGE = SY-LANGU
LANGUAGE = SY-LANGU
USER = SY-UNAME
IFS_XML_CONTAINER =
IMPORTING
RETURN_CODE =
EVENT_ID =
TABLES
INPUT_CONTAINER = CONTAINER
MESSAGE_LINES =
MESSAGE_STRUCT =
IMPORT vbak-vbeln FROM MEMORY ID 'SALESDOCUMENT'.
SELECT SINGLE * FROM VBAK WHERE VBELN = vbak-vbeln.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
FORM build_xls_data_table.
CONSTANTS: con_cret TYPE c VALUE '0D', "OK for non Unicode
con_tab TYPE c VALUE '09'. "OK for non Unicode
CONCATENATE 'Sales Document' 'Sales Organization' 'Distribution
Channel' 'Division'
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
LOOP AT IT_VBAK INTO WA_CHARVBAK.
CONCATENATE WA_CHARVBAK-VBELN WA_CHARVBAK-VBELN
WA_CHARVBAK-VKORG WA_CHARVBAK-VKORG
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables pit_message
pit_attach
using sendmail
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.
ld_email = sendmail.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
w_doc_data-doc_size = 1.
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 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[] = pit_attach[].
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.
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.
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_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
contents_bin = t_attachment
contents_txt = it_message
receivers = t_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.
ld_error = sy-subrc.
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM. "send_file_as_email_attachment
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
REFRESH it_message.
it_message = 'has been approved by CRISTAL'.
CONCATENATE 'Dear Customer,
Your Sales Document' VBAK-VBELN IT_MESSAGE 'Created by:' VBAK-ERNAM
'Sales office:'vbak-vkbur INTO IT_MESSAGE SEPARATED BY ' '.
APPEND it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODYHi,
Try this code. It is working fine for me,
REPORT ZMAIL.
data : document_data like SODOCCHGI1.
data : receivers like SOMLRECI1 OCCURS 0 WITH HEADER LINE,
object_content like SOLISTI1 OCCURS 0 WITH HEADER LINE.
subject line
document_data-obj_descr = 'My subject Line'.
Mail Content
object_content-line = 'My Content 1'.
APPEND object_content.
object_content-line = 'My Content 2'.
APPEND object_content.
Receiver type and ids
receivers-receiver = '[email protected]'.
receivers-REC_TYPE = 'U'. "Email message
APPEND receivers.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = document_data
DOCUMENT_TYPE = 'RAW'
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = SENT_TO_ALL
NEW_OBJECT_ID = NEW_OBJECT_ID
TABLES
OBJECT_HEADER = OBJECT_HEADER
OBJECT_CONTENT = OBJECT_CONTENT
CONTENTS_HEX = CONTENTS_HEX
OBJECT_PARA = OBJECT_PARA
OBJECT_PARB = OBJECT_PARB
receivers = 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 <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
U need to change the receiver type based on the type of mail that u send.
Thanks,
Prasath N -
Domain name changes when sent to external mail ids
Here's the problem...
We are sending PO's as pdf's to the vendor..
If the vendor domain name is vendor.com and mine is company.com.
SAP sends a mail
To [email protected] ;[email protected]
CC : [email protected]
When the mail reaches the vendor it shows as
To [email protected] ;[email protected]
CC : [email protected]
the domain name of person2 gets changed though person2 does get the mail...and when the purchase manager at the company looks at it in his inbox - it looks as it should be.
I checked SOST it shows the correct mail id.This is not specific to a particular domain occurs with all domains .
Has anyone encountered such a problem before.
Regards
RaniHello Navjot,
if you have some basis background you can check TCode SCOT there you can see if the mail connect for external mails is configured correctly. There shoud be at least a node for SMTP communication. If there is such node check that sending s not restricted to certain adresses. Furthermore you could check over the menu if the default domain is set properly.
Kind Regards
Roman -
Problem in Sending External Mail
Hi all,
I am facing a problem in sending message to the external mail server. My problem is i have created a workflow template and in that i have created a send mail step and in that i am giving a message and the recipient type is email address and the email address is [email protected]
But i am not receiving any mail to my outlook. The configuration in scot are perfect.
When i tried to send a message from my inbox new message i can able to see the mail in my outlook.
Please help me in this issue, it is very urgent.
Regards
Balaji E.Hi Prasath,
Thanks for your kind help. I checked that too, but giving me an error
Short Text
"Cannot process message in SAP System"
Long Text:
Cannot process message in SAP System
Message no. XS817
Diagnosis
Processing could not be continued due to a technical or configuration
error in the SAP system.
System Response
Processing was terminated.
Procedure
Processing was terminated in the SAP system. The reason is given in the
details below:
The received e-Mail address WIPRO6 does not corres
Can any one help me in this issue.
Note : For the user WF-Batch there is no email id specified then i specified that and saved it.
Regards,
Balaji E. -
Error in sending external mail
hi ..
while sending mail using BCS objects .... i am geting error
Internal error: SO_OBJECT_MIME_GET Exception: 2
....i too configured SCOT transaction wit port number 25 , mail host and also given the internet email id for mailing user....
plz do help me ...This error occurs when you send a mail via the SMTP node and can have several causes:
1. Default domain not set
2. Default code page not set (only with multi-codepage systems)
3. Code page not suitable for sending mail
4. COMMIT WORK is missing (programming error)
5. Workplace plug-in is missing
Solution
Activate the SAPconnect trace and resend the document if necessary. The next time the SAPconnect send job is running, search for the entries marked in red in the SAPconnect trace of the document. The applicable solutions, depending on these entries, are listed below:
1. Default domain not set
Trace entries:
BCS->MIME_MESSAGE_GENERATE
Sender Address Not Found 80
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: SENDER_BCS
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
or:
BCS->MIME_MESSAGE_GENERATE
Error during MIME Flow Generation
BCS->MIME_MESSAGE_GENERATE
Error During Automatic Determinaton of Default Internet Domain
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MIME_BCS
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must set the domain of the SAP System (Settings --> Default Domain).
2. Default code page not set (only with multi-codepage systems)
Trace entries:
CL_BCOM_MIME->GET_CODEPAGE
Termination: Multi-Codepage Systems Not Supported
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page on the SMTP node.
3. Code page not suitable for sending mail
Trace entries:
CL_BCOM_MIME->GET_CHARSET
Termination: Charset Cannot Be Determined for SAP Code Page
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page (an entry is available in table TCP00A) that is suitable for sending mail on the SMTP node.
4. COMMIT WORK is missing (programming error)
Trace entries:
SO_OBEJECT_MIME_GET
No Send Order Exists -> Termination
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
Solution: See note 429427 for the correction.
5. Configuration for the sending of Business Objects
An attempt is made to send a document of type OBJ to an external recipient. This requires a conversion to TXT/HTML format, but the necessary modules are not configured correctly.
Trace entries:
SX_OBJECT_CONVERT_OBJ_HTM
Converting Document Format from OBJ to TXT/HTML
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution:
Please refer to Note 530932.
1. You can refer to SAP Note 487754.
2. Error in Sending External Mail
3. Re: BWCCMS: send email if process chain fails?
Hope this will solve your issue.
Re: Send mails
Re: SCOT Setup
Reward points.. -
How to send an external mail from workflow.
Hi,
I have created a send mail in my workflow but it isnot sending the external mail
Any guesses?Check the status in SOST . If not ask ur BASIS guys to work on SCOT.
Richard A
Maybe you are looking for
-
Hi How VAT IS captured in CIN in purchasing? How the credits are taken? How vat register maintained?Like excise register maintainenece How vat utilized aganist the out going materials?During selling How the vat is payed to the government at the month
-
Iphone 4 camera freezes in movie mode
iphone 4 camera freezes in movie mode
-
Easy "Add Page to Your Favs" JavaScript
Hi all, I created this script and thought I would share. Not sure if there is a better way to do this, but this is how I did it. I wanted to create a link that would automatically add the page the user is on to the Portal favorites making easier to g
-
Hi, I've been reading through the Director MX User Guide and Help function but I'm still not able to get my Play, Pause and Stop buttons to work right. Here's what I'm trying to do: I have a slide presentation that I made in Director MX for my class
-
Does BPEL 10.1.2.0.2 work with SQL Server JDBC 2005 driver?
Hi, wondering if any one has got 10.1.2.0.2 or .0.0 to work with the SQL Server 2005 jdbc driver. I have placed the sqljdbc.jar file in the OC4J_BPEL/applib/ directory in place of the previous 3 2000 drivers. I then modified the connections I had in