Create Hyperlink when sending mail via Outlook
Hi all,
I want to mail a hyperlink from within function module via outlook. Creating the hyperlink and starting function <new mail> in outlook works just fine. But when the document (word, pdf, etc.) contains blanks, the hyperlink gets interrupted.
For example:
h:\temp\word1.doc (this will work just fine).
h:\temp\word 1.doc (error when displaying hyperlink in body of new mail).
I know that sometimes on the internet blanks are displayed as %20. But how to insert this in an ABAP statement using CONCATENATE?
Best regards,
Micky.
Hi Micky,
Try using replace command... to replace SPACE with %20
Regards,
Raj
See the example below:
REPLACE
Basic form
REPLACE f WITH g INTO h.
Addition
... LENGTH len (length specification for field f )
Effect
Replaces the first occurrence of the contents of field f in field h with the contents of field g . All fields are handled in their defined length; this means that closing blanks are not ignored.
The return code value indicates whether the string f was found in h and replaced by g :
SY-SUBRC = 0 String replaced.
SY_SUBRC = 4 String not replaced.
Example
DATA FIELD(10).
MOVE 'ABCB' TO FIELD.
REPLACE 'B' WITH 'string' INTO FIELD.
returns:
FIELD = 'AstringCB', SY-SUBRC = 0
Similar Messages
-
Surname not recognized when sending mail via FM
Hi SDN,
I am on WAS 6.20. SRM System.
I have a BSP, which sends mail via FM SO_NEW_DOCUMENT_ATT_SEND_API1.
when putting a normal dialog user in the ICF Service of the BSP I get a mail in my email client, which shows as sender the forename, surname of the corresponding SU01 SAP User. When putting service user in the ICF service the sender, which shows up in my email-client is always 'www' even though I changed fore- and surname of this service user. Why is that?
regards, matthias
Message was edited by: Matthias Kasig
Message was edited by: Matthias KasigI am with you. I think they still have a dud server in their farm and when you get it you get the error message. How to get to level two support is the trick I think.
-
Configuring mail priority when sending mails via SMTP from ECC 6.0 system
hi all,
we have the problem, that mails which we send via SMTP out of ECC 6.0 system
reach our SMTP server with very low priority. So the server usualy send them in the evening.
Is there a possibility to configure global priority for mails?
best regards
DavorGoto SCOT transaction, double click on STMP you will find the option
Maximum waiting time for repeat send attempt procedure:
Hours/minutes / 30. define the time over there.
II option execute the job- start send process,
Regards,
Mahesh -
Can GZIP compression be used when sending mail via EAS?
I don't see a specific reference to this in the docs; thanks!
Hi Josh i am getting the same error as krishna kumar. Below is my request
<?xml version="1.0" encoding="utf-8" ?>
<SendMail xmlns="ComposeMail">
<ClientId>61103135</ClientId>
<SaveInSentItems />
<Mime>BASE64_STRING_OF_MIME_DATA</Mime>
</SendMail>
Mime Data :
From: [email protected] To:
[email protected] Subject: hello MIME-Version: 1.0 Content-Type:text/plain; charset=\"iso-8859-1\" Content-Transfer-Encoding:7bit X-MimeOLE:Produced By Microsoft MimeOLE V6.00.2900.3350 This is the email body content.
Response :
<SendMail xmlns="ComposeMail">
<Status xmlns="ComposeMail">102</Status>
</SendMail>
Response Header:
"Cache-Control" = private;
"Content-Encoding" = gzip;
"Content-Length" = 142;
"Content-Type" = "application/vnd.ms-sync.wbxml";
Date = "Tue, 10 Feb 2015 12:26:26 GMT";
"MS-Server-ActiveSync" = "15.1";
Server = "Microsoft-IIS/8.0";
Vary = "Accept-Encoding";
"X-AspNet-Version" = "4.0.30319";
"X-BEServer" = BY2PR06MB903;
"X-BackEndHttpStatus" = 200;
"X-CalculatedBETarget" = "BY2PR06MB903.namprd06.prod.outlook.com";
"X-DiagInfo" = BY2PR06MB903;
"X-FEServer" = HKXPR06CA004;
"X-MS-BackOffDuration" = "L/-470";
"X-Powered-By" = "ASP.NET";
"request-id" = "176a5d57-f5a5-433c-b929-f967b13566a2"; -
Issue sending mail to outlook?
Hi,
I need to map some users in CC list of mail when sending mail to outlook.
Where i can achieve that with in workflow development?
ThanksHi,
Using this FM SO_NEW_DOCUMENT_SEND_API1 you can send in the RECEIVERS you have to assign as below.
RECEIVERS-COPY = 'X' u201C Carbon Copy (CC)
RECEIVERS-BLIND_COPY = 'X' u201C Blind Carbon Copy (BCC)
1) You have to create a Method in the BO to send Mail using this FM SO_NEW_DOCUMENT_SEND_API1 and assign as shown above.
2) Then call this Method in the Workflow via Task.
Regards,
Surjith -
When a external application tries to send an email via Thunderbird i get an error message, roughly translated it says: "Something went wrong with PostMail, error number 2"
My collegues have the same setup, they have no problem what so ever when sending mail via this way. Any tips would be most welcome. Thanks for your time.Continue at your other thread.
https://support.mozilla.org/en-US/questions/1053959 -
Sending mail to OUTLOOK from SAP when error encountered in MM creation
Hi ,
I am able to send a message to SAP inbox which i can view from SBWP. But as well i need to send mail to the OUTLOOK .How can i send this OUTLOOK .
I have configured the mail id in SCOT.
Even i configured in SCOT with BASIS team i m not able to send mail to outlook.I even checked in SOST their is no entry in that .
Is their a need for writing separate logic for sending mail to OUTLOOK as well?
Regards,
Ranjith ,
+91-8431858286.HI Modak,
Please help me in getting out of this error encountered during a sample workflow thing.
Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail need to send a recipient ,stating that he accepthed the request.
Below I designed that task.
In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even getting notification in my SBWP in SAP INBOX. -
Can't "send" mail in Outlook Web App
Firefox version 34 on Ubuntu Linux 12.04
Several users cannot "send" email using the Outlook Web App. I'm in the process of contacting Microsoft to see if the problem is on their end. The "send" button works fine in Chrome.
I've tried:
-Using the keyboard shortcut (Alt-S)
-Restarting firefox with addons disabled
-Changing the zoom level
-Tried in Private mode
-Tried using the popout window to compose and send
-Tried disabling the proxy (does not work with or without the proxy)
I've noticed that after creating a new message, no draft is saved. Cannot send with a new message or when replying.Did you realize this is a forum for MacBook Pro's? Outlook is a Microsoft product that only runs on MS Windows. Perhaps you could provide more information such as:
I am running Windows XP, Vista, Win 7 under Boot Camp and am attempting to send mail using Outlook. I am running into the following problems........ and then tell more about how you have set up Outlook, what issues you are having and what troubleshooting steps you have taken.
At any rate if you are using Boot Camp, Fusion, Parallel's etc.. your best bet is to begin posting in those forums. This is a forum for MacBook Pro's 2008 or later. You can find the Boot Camp forum at:
http://discussions.apple.com/category.jspa?categoryID=237
Regards,
Roger -
Sending Mail to Outlook from workflow approval
Hi All,
A standard workflow is trigering in when we click on FOR APPROVAL button in IMA11 (Appropriation Request in IM Module).
I need to send send mail to OUTLOOK with workitem for approve directly from the OUTLOOK. Is it possible.
Suppose , we have 5 approval levels.
By standard workflow , If the 2nd person approve the request , work item is going to the 3rd person SAP Inbox.
I also need, If the 2nd person approve the request , need to send a mail to the 1st person also.
How can I get this?
Plz write ur comments.
ThanksHi,
In SBWP transaction goto setting->office settings-Automatic forwarding-create new---give mail id in forward to and select external address.
In SWDD use send mail.
Recipient type Organizational object
User Name_of_the_user
Also from insert expression you can enter work item id.
Also while creating above use using SU01 enter e-mail address which you have entered in forward to. -
Problem when sending mails with excel attached
Hi
I'm tryin to send mails via SAPOffice with attached excel documents. I'm using FM SO_NEW_DOCUMENT_ATT_SEND_API1. I have a problem with the code. Here I post it:
DATA: ti_objbin LIKE solisti1 OCCURS 150 WITH HEADER LINE,
ti_objhex LIKE solix OCCURS 150 WITH HEADER LINE.
DATA: BEGIN OF i_excel,
sobid(8) TYPE c,
tab1 TYPE X VALUE 09, "tab code
name(80) TYPE c,
tab2 TYPE X VALUE 09, "tab code
city(40) TYPE c,
tab3 TYPE X VALUE 09, "tab code
kostl(10) TYPE c,
tab4 TYPE X VALUE 09, "tab code
ktext(20) TYPE c,
tab5 TYPE X VALUE 09, "tab code
fasig(10) TYPE c,
tab6 TYPE X VALUE 09, "tab code
ruta(255) TYPE c,
fin TYPE X VALUE 13, "carriage return
END OF i_excel.
i_excel-sobid = wa_datos-sobid.
i_excel-name = wa_datos-name.
i_excel-city = wa_datos-city.
i_excel-kostl = wa_datos-kostl.
i_excel-ktext = wa_datos-ktext.
i_excel-fasig = wa_datos-fasig.
i_excel-ruta = wa_datos-ruta.
WRITE i_excel TO ti_objbin-line.
APPEND ti_objbin.
CLEAR ti_objbin.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
TABLES
packing_list = ti_objpack
object_header = ti_objhead
contents_bin = ti_objbin
contents_txt = ti_objtxt
* contents_hex = ti_objhex
receivers = ti_reclist
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.
I have used this code before, in 4.6C release and it works fine, but now I'm on ECC5.0 and when i check the code, the next error message is generated: ""I_EXCEL" cannot be converted to a character-type field." If i try using MOVE i_excel TO i_objbin-line instead of WRITE, the error message changes to: ""TI_OBJBIN-LINE" and "I_EXCEL" are not mutually convertible in a Unicode program. program.". I have tried using ti_objhex table instead of ti_objbin in order to use 'context_hex' parameter (instead of 'context_bin') on FM, but i get the same result.
I've been searching any other FM to do this, and i've found more FM of SOI1 function group but i didn´t get the expected result. So i need to send the message with the excel attached, using this FM or any other, but I need some help. Anyone can help me?
Thanks and Regardshi this is a simple example to send the excel sheet as a mail
TABLES: ekko.
PARAMETERS: p_email TYPE somlreci1-receiver .
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
wa_ekpo TYPE t_ekpo.
TYPES: BEGIN OF t_charekpo,
ebeln(10) TYPE c,
ebelp(5) TYPE c,
aedat(8) TYPE c,
matnr(18) TYPE c,
END OF t_charekpo.
DATA: wa_charekpo TYPE t_charekpo.
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
START-OF-SELECTION.
Retrieve sample data from table ekpo
PERFORM data_retrieval.
Populate table with detaisl to be entered into .xls file
PERFORM build_xls_data_table.
*END-OF-SELECTION
END-OF-SELECTION.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'filename'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp aedat matnr
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekpo.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
FORM build_xls_data_table.
data: ld_store(50) type c. "Leading zeros
CONSTANTS: con_cret(5) TYPE c VALUE '0D', "OK for non Unicode
con_tab(5) TYPE c VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF.
CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR' INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
LOOP AT it_ekpo INTO wa_charekpo.
*Modification to retain leading zeros
inserts code for excell REPLACE command into ld_store
=REPLACE("00100",1,5,"00100")
concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'
wa_charekpo-ebelp '")' into ld_store .
concatenate ld_store into .xls file instead of actual value(ebelp)
CONCATENATE wa_charekpo-ebeln ld_store wa_charekpo-aedat wa_charekpo-matnr 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 p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = 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.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
*& 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 = 'Please find attached a list test ekpo records'.
APPEND it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODY
regards,
venkat. -
Sending mail via Javascript.
It is possible to send mail via a Javascript. If so can anyone support me with the code to do so.
you use the Windro$$ scripting host, and use an ActiveXObject to access the Outlook (not express) poroperties.
I used to do them a lot because they save me time... all automated is always better.
For example, here is a script that changes the read-only, etyc file properties on a windro$$ box. (I used it when copying CDs)
/* Changes the file attributes in a batch of files starting in
* the current directory and progressing according to parameters
/* LOGIK:
-get the path to a file in folder
change attribute of file/dir.
repeat until there are no more files
go to next folder
start again
* VARIABLE PARAMETERS *
* includeSubDirectories {true | false} *
* Should the subdirectories' files be changed too? *
* numberOfLevelsDeep {0 | 1..99999999999} *
* The number of levels of subdirectories that should be *
* affected (0 = all) *
* onlyFilesWithExtension {"" | "extension" | ["extension", *
* "list"]} *
* Only the fies with this extension are to be changed *
* ("" = all, no regexp) (arrays can be used ["htm", "html", *
* "gif", "jpg", "jpeg"]) *
* NewAttributes: *
* readOnly {true | false} *
* Set files to read only? *
* hidden {true | false} *
* Set files to hidden? *
* archive {true | false} *
* Set files to archive? *
* system {true | false} *
* Set files to system files? *
var includeSubDirectories = true;
var numberOfLevelsDeep = 0;
var onlyFilesWithExtension = "";
var NewAttributes = {
readOnly : false,
hidden : false,
archive : false,
system : false
//MAIN FUNCTION
function main(){
chmod(path, 0, numberOfLevelsDeep, includeSubDirectories);
//OBJECTS
//FUNCTIONS
// This arguments are here just to pass information around during
// runtime
function chmod(dir, browseNumber, levels, subdirs){
//If the number of levels deep has been reached and
//the number of levels is not 0 then end
if(browseNumber > levels && levels != 0){
return;
}else{
browseNumber++;
//get directory as a folder object
dir = FSO.GetFolder(dir);
var FILES = new Enumerator(dir.files);
var DIRECTORIES = new Enumerator(dir.subFolders);
for(; !FILES.atEnd(); FILES.moveNext()){
try{
//Change file settings
var currentFile = FSO.getFile(FILES.item());
//if we have an extension array...
if(extensionIsArray){
for(var i in onlyFilesWithExtension){
if(onlyFilesWithExtension[i] == ""
|| FSO.getExtensionName(currentFile).toLowerCase(
) == onlyFilesWithExtension.toLowerCase()){
changeAttributes(currentFile);
break;
}else{
if(onlyFilesWithExtension == ""
|| FSO.getExtensionName(currentFile).toLowerCase(
) == onlyFilesWithExtension.toLowerCase()){
changeAttributes(currentFile);
}catch(error){
WSH.popup("Unable to change file '" + currentFile + "'\n" + error.description, 0);
for(; !DIRECTORIES.atEnd(); DIRECTORIES.moveNext()){
if(subdirs){
chmod(DIRECTORIES.item(), browseNumber, levels, subdirs);
changeAttributes(DIRECTORIES.item());
}else{
return;
function changeAttributes(filename){
var err = "pagefile.sys";
if(("" + filename).substring(("" + filename).length - err.length, ("" + filename).length).toLowerCase() == err){
return; // The file is the virtual memory buffer... ignore!
//Try to use the filename as if it was a file.
//If operation fails, then we have a folder.
//In either case the change of properties should work.
try{
filename = FSO.getFile(filename);
}catch(error){
filename = FSO.getFolder(filename);
//Change the file/folder attributes if necessary
for(var i = 0; i < 4; i++){
if(filename.attributes & modes[i]){
if(!newca[i]){
filename.attributes = filename.attributes - modes[i];
}else{
if(newca[i]){
filename.attributes = filename.attributes + modes[i];
//CONSTANTS
var FSO = new ActiveXObject("Scripting.FileSystemObject");
var WSH = new ActiveXObject("WScript.Shell");
//VARIABLE DECLARATIONS
//geth the location of the script
var path = FSO.getParentFolderName(WScript.scriptFullName);
//If this is an array, element 0 will not be undefined
var extensionIsArray = onlyFilesWithExtension[0] + "" != "undefined";
//Convert object to usable array
var newca = [NewAttributes.readOnly, NewAttributes.hidden, NewAttributes.archive, NewAttributes.system,];
//[readOnly, hidden, archive, system]
var modes = [1, 2, 32, 4];
//changeAttributes("c:\\autoexec.bat");
//Go!!!
main();
dave. -
Unable to send mails to outlook from sap system through workflow
Hi ,
Iam unable to send mails to outlook from sap system through work flow .Actually we r able to send mails from sap inbox to outlook successfully.But when trying with workflow we r not able to send.Please guide me that is there any configurations required from BASIS side for work flow.Actually we configured everything like default domain .
Please find the errors belows that traced from sost t code
02/13/2012 17:50:12 0380 MIME_MESSAGE_GENERATE G Error when generating MIME flow
02/13/2012 17:50:12 0382 MIME_MESSAGE_GENERATE G Required 'From' header is initial
02/13/2012 17:50:12 0167 SO_OBJECT_MIME_GET G Error during MIME Generation
02/13/2012 17:50:12 0777 UPDATE_SOSC G Cannot process message in SAP System
Regards
RAGHAVENADARHello,
Actually i checked the mail ID for WF-BATCH using su01 .But i didnt find any mail ID for WF-BATCH then i added the email address of the user.Then we tried sending mail it was successfull.
But later i removed the email address what i entered in WF-BATCH user .Even after removing the email address also iam able to send the mails through workflow.
So iam confused whether it needs an mail address or not.But now we are able to send a mail to outlook through work flow but not able to send mails to GMAILor yahoo.For that we need to do any settings.
ABAPer is sending mails through work flow.
Regards
RAGHAVENDAR M -
Sending mails via conversion channel according to sender
Hi
I need to run a script on some mails sent by specific users.
I am using the conversion channel, but in that way all mails using that channel are using the script.
I need that only mails from specific users will use that script.
What is the best method to do so?
Thanks
ShlomiHi
I followed the document, but had some problems.
First, When adding the Tag to the mapping file it didn't seem to work, so I put it in the conversion file and then, as it should be, only mails from users that had the tag run via the conversion.
However, it is working only with internal mail.
When sending mails to servers outside my network this tag is ignored.
When sending mail internaly this is the output of the imsimta test -rewrite command:
+# imsimta test -rewrite [email protected] [email protected]+
address channel =
forward channel =
backward channel =
unique identifier =
header forward address = [email protected], [email protected]
header reverse address = [email protected], [email protected]
envelope forw address =
envelope rev address =
name =
mbox =
Extracted address action list:
[email protected]
[email protected]
Extracted 733 address action list:
[email protected]
[email protected]
Address list expansion:
-13 expansion total.
Expanded address:
[email protected], [email protected]
Submitted address list:
ims-ms
+me@ims-ms-daemon (orig [email protected] [email protected], inter [email protected], initial [email protected] [email protected], host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS {color:#ff0000}tag 111{color}+
Submitted notifications list:
The tag value is 111, in that case any mail from a user with the value 111 in the mailConversionTag is sent to the conversion channel.
When sending mail to external address I get this:
+# imsimta test -rewrite [email protected] me@external_domain.com+
address channel =
forward channel =
backward channel =
unique identifier =
header forward address = [email protected], me@external_domain.com
header reverse address = [email protected], me@external_domain.com
envelope forw address =
envelope rev address =
name =
mbox =
Extracted address action list:
[email protected]
me@external_domain.com
Extracted 733 address action list:
[email protected]
me@external_domain.com
Address list expansion:
-13 expansion total.
Expanded address:
[email protected], me@external_domain.com
Submitted address list:
ims-ms
+me@ims-ms-daemon (orig [email protected] me@external_domain.com, inter [email protected], initial [email protected] me@external_domain.com, host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS {color:#ff0000}tag 111{color}+
tcp_local
+me@external_domain.com (orig [email protected] me@external_domain.com, initial [email protected] me@external_domain.com, host external_domain.com) NOTIFY-FAILURES NOTIFY-DELAYS+
Submitted notifications list:
It looks like after the first phase the tag in not forwarded.
Do I have to enable something so it will be forwarded?
Thanks,
Shlomi -
Cannot send emails via outlook 2011
I have an iMac and I cannot send emails via outlook 2011. I get an error code 3210. Can anyone help?
Does not help.. my problem is a little different
I have an iMac and I cannot send emails via outlook 2011. I have 3 emails stuck in the sent box... They are not in my sent or inbox. Every time I send an email it first tries to send these 3 mails. for 2 I get an error code 3210 and for one "5.1.2 or other punctuation after the recipient's email address. g5sm23942864eem.4". I have an euronet account and not a hotmail account. -
Sending mail via forms no longer working
Recently, on one of our servers (XServe G4 - 10.3.9) was running both web and mail. Mail was moved off of the server 2 days ago onto a newer server (10.4.7)
The web server has: php4.3.11 and is ONLY running AFP/OD/Web
Since the transfer of the mail server to the new machine, all web sites can no longer send mail via their scripts (either by sendmail, php's mail(), or by connecting to SMTP server via php).
The web logs do not show errors when it attempts to send the mail...
A look at mail.log shows
"relay=cyrus, delay=2558, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_)
As far as I'm aware, the web server/sendmail shouldn't be attempting to use cyrus at all. For the record, Cyrus master is not running.
All users can access the mail server without any difficulty. DNS entries have been checked and double checked.
Does anyone know why sendmail and php mail functions stopped working? I really need to get these web forms functioning again. Is the problem with apache, php, sendmail or something else?Hi Camelot,
Thanks for the quick reply and useful suggestion. I did as you mentioned and fired up the mail server.
The mail "delivered" however, I notice a couple issues in the logs (mail.log)
issue #1: I have to start cyrus master manually via > sudo /usr/bin/cyrus/bin/master SA and command line start/stop of mail does not start master. Also, when starting master from command line as mentioned, terminal hangs.
issue #2 (from mail.log) - still getting the same lmtpd error (but messages do finally get delivered):
Jan 14 03:58:24 www postfix/pipe[2914]: 3503858502D: to=<[email protected]>, relay=cyrus, delay=5327, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmptd_ )
Jan 14 03:59:39 www postfix/cleanup[2906]: B60AE58572B: to=<[email protected]>, relay 123.123.123.123[123.123.123.123], delay=0, status=sent (250 Ok: queued as 9FBF41BCBCA)
Do you think these are "issues" to contend with or are they "normal" occurances?
Maybe you are looking for
-
How to delete the material records related to storage type
Dear SAP guru's, I got a situation that if the material "XXXXXX" exists in two different storage type (let say 001 & 002 ) and the material needs to be removed out of one (Let say 002) to avoid the picking and putaway in future. Inorder to accomplish
-
How to create PDF files in Arabic?
Hello, I work with Adobe Acrobat 7.0 Professional to create PDF files, but I can not insert Arabic characters, could you help me please? Thank you! (see the attached file)
-
x:forEach using expressions inside the select value
Hey everyone. I am trying to use a <c:include> statement to include a jsp file multiple times. The included file parses and processes an XML file but I want to be able to pass in a string representing the XPath to select the elements I want to proces
-
I am using PSE6 to catalogue my pictures. How can I transfer the pictures from the organizer to Pro Show Gold which I prefer to use as my slide show software? I have tried dragging and dropping, selecting all , click on copy in PSE6 and then click on
-
Could you use ActiveX controls to achieve the effect you like?
For example, you can use Shockwave Flash Object controls to load or call some Flash motion pictures to achieve the effect you like!