I have a workflow where I send e-mails(U type) to recipients. If I send to a recipient like firstname.lastname@example.org, the mail is received. If I send to an outlook mail, the mail is not received(although in SCOT i see the mail).
If I send an outlook mail from SBWP(not from the workflow), the mail is received.
So the problem is that the workflow can not send or sends wrong(because i once received the mail after 10 hours in the junk folder) to outlook adresses.
What do you suggest?It could be something with the junk filter in outlook?What can I do?
Did you try to check the address parameter value should be * in SMTP node settings. moreover is the mail that is sent from the workflow to outlook is appearing in the SOST transaction. Also make sure that the HTML format is maintained as Plain Text in the SMTP node settings.
Check if the outlook is not accpeting any junk mails. Most of the times the mails sent from the SAP workflow are available under JUNK folder..
"I have a workflow where I send e-mails(U type) to recipients. If I send to a recipient email@example.com, the mail is received"
"the mails sent from the workflow do not appear in SOST"
Surely the ones that make it to yahoo are in SOST?
Okay if they appear in SOST and SOST says they were sent successfully then it definitely has nothing to do with workflow and possibly nothing to do with SAP either. Maybe Outlook is filtering them out. I think you would maybe get more answers in another forum.
Rick Bakker / hanabi technology
Okay, you send a mail to the exact same address from SBWP as you do from Workflow.
In both cases they show up in SOST and indicate they have been successfully sent.
Only one of them, the one from SBWP, arrives. Is that the case?
I would double-check in SOST that the same recipient address is showing in both cases.
Rick Bakker / hanabi technology
I have had similar issues.... Check my short blog at: http://scn.sap.com/community/abap/blog/2012/03/15/testing-email-in-sap-systems-with-workflow-too
There is some config described in here which shows some sap office settings you need to make to get type-U email addressing to work.
Here is the problem. In the body of my send email step(in workflow), i am sending an url that is made of 3 parameters(&link&&code_url&approver&). The url has too many characters(140). So there is no problem with the configuration. If for example I am sending an url with 50 characters, the email is received in outlook.
I tried the solution using SO_NEW_DOCUMENT_SEND_API1 in a method. It does not work. I have the same problem, I can not send as many characters as I want.
Here is the code:
DATA: lt_mailsubject TYPE sodocchgi1.
DATA: lt_mailrecipients TYPE STANDARD TABLE OF somlrec90 WITH HEADER LINE.
DATA: lt_mailtxt TYPE STANDARD TABLE OF soli WITH HEADER LINE.
lt_mailrecipients-rec_type = 'U'.
lt_mailrecipients-RECEIVER = ADRESS.
APPEND lt_mailrecipients .
CLEAR lt_mailrecipients .
lt_mailsubject-obj_name = 'TEST'.
lt_mailsubject-obj_langu = sy-langu.
concatenate 'Purchase order' ponumber 'created.' into lt_mailsubject-obj_descr separated by space.
concatenate link ponumber '&code=' code_url '&approver=' approver into lt_mailtxt.
APPEND lt_mailtxt. CLEAR lt_mailtxt.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
document_data = lt_mailsubject
object_content = lt_mailtxt
receivers = lt_mailrecipients.
IF sy-subrc EQ 0.
SUBMIT rsconn01 WITH MODE = 'INT' AND RETURN.
Link,code_url and approver have together like 140 characters.
The mail is not received in Outlook if I run the function. If i give less characters, the mail is received.
I need desperate help. Can you please help me?
Thought to mention this. I am sending a url link made of many characters. They probably do no fit on a single line and that is why the mail server is not accepting them.
Maybe there is a way to split my parameters on 3 lines and still make it look like a link.
What do you think?
I will try this type of calling the function, with hyperlink:http://scn.sap.com/thread/1950735.
I will keep you posted if it solves my problem or not.