Hello,
I have a workflow where I send e-mails(U type) to recipients. If I send to a recipient like x@yahoo.com, 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?
Thanks,
Efren
Hi,
I don't think it is workflow problem. I think it is outlook problem.
Hello,
I agree but what do you suggest?
Thanks,
Efren
Hi,
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..
Regards
Pavan
Hello,
The adress parameter is not * and the mails sent from the workflow do not appear in SOST. I have not found where to see if the HTML format is maintained as Plain Text in the SMTP node settings.
Tomorrow I will check if outlook accepts junk mails.
Thanks,
Efren
Hello,
"I have a workflow where I send e-mails(U type) to recipients. If I send to a recipient likex@yahoo.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?
regards
Rick Bakker
Hello,
Sorry. Both type of emails appear in SOST.(yahoo and outlook).
Thanks,
Efren
Hello,
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.
regards
Rick Bakker / hanabi technology
Hello,
Thanks Rick, but I tried to send an email from our test system and the mail is received so it is maybe a configuration problem.
Efren
What happens if you send an email from SBWP?
Hello,
The mail is received if I send it from SBWP. The problem is only when I send from workflow.
Thanks,
Efren
Hello,
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.
regards
Rick Bakker / hanabi technology
Hi Efren,
Check with the outlook admin how the junk filters are setup. If your mails are getting stuck there.
Regards,
Ajesh.
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.
Regards,
Jason.
Hello,
Thanks Jason, but I am not using G adressing.I am sending only to type I adresses.
Efren
Hello everyone,
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'
EXPORTING
document_data = lt_mailsubject
TABLES
object_content = lt_mailtxt
receivers = lt_mailrecipients.
IF sy-subrc EQ 0.
COMMIT WORK.
SUBMIT rsconn01 WITH MODE = 'INT' AND RETURN.
ENDIF.
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?
Thanks,
Efren
Hello,
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?
Efren
Hello,
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.
Thanks,
Efren
Hello,
It's good you found the cause of the problem. Maybe you can use SICF to shorten the URL.
But how does the mail look in SOST with the long URL? Does it get truncated?
regards
Rick Bakker / hanabi technology
Hello,
If you ask me about the body of the mail, if it gets truncated, I dont know where to see in SOST the body of the mail.
If you mean the mail itself, I see only one email in SOST, and its detalils look fine.
Thanks,
Efren
In SOST you can see the body of the email if you click on the button with eyeglasses.
Hello,
I can see the full mail in SOST.
Well, this morning I received a quarantine summary with all the mails sent by the workflow administrator...so It is a problem with the mail server, I think.
Efren