Sending Emails in PeopleSoft CRM
Hi All,
I am using below Method for Sending Emails in PeopleSoft CRM.
Now i need to add some dynamic info like instead of Dear user in Mail Text,i need to
write Dear UserName. Concatenation is an option but for that purpose i have to loop for each user.
Is there any other Method ?
&MAIL_FLAGS = 0;
&MAIL_TO = " User1@email , User2@remail , User3@email";
&MAIL_CC = "";
&MAIL_BCC = "";
&MAIL_SUBJECT = "Thanks for your Interest";
&MAIL_TEXT = "Dear User, Thanks .....
&MAIL_FILES = "";
&MAIL_TITLES = "";
&MAIL_SENDER = " myEmail@email";
&RET = SendMail(&MAIL_FLAGS, &MAIL_TO, &MAIL_CC, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_TEXT, &MAIL_FILES, &MAIL_TITLES, &MAIL_SENDER);
Thanks in Advance
So you're sending one email to three users? Wouldn't it be handier to loop for every email? That way you get a separate mail per user. If you're sending an email to 3 users as in the example then I would just retrieve the name for each user from the DB using a simple SQLExec.
Similar Messages
-
Dear experts:
How to send email from CRM system to outside using ABAP code/FM?
I found CRM_ERMS_MAIL_SEND but couldn't make it working.
Thanks, DaveHi Stephen.
Thanks for your reply once again and the information was very usefull. But my problem is still not resolved. let me explain the scenario.
When i send an email with an external id like gmail or yahoo id the mail is reaching outlook SENT FOLDER but not sending to any of the reciepts of gmail or yahoo. And i dont see any trace on microsoft exchange server also. only thing what i see is that the mail in the sent folder of outlook.This is happening without even configuring the SMTP.
My question is how the emails will be sent to outside world from CRM through outlook outbox and then outside world like gmail and yahoo accounts.
Any help on this is much appriciated.
Thanks
sama -
Via inbound processing (SCOT) I have specified that when an email comes in from CRMMAIL5, that the exit code I specified needs to be executed. I did the same thing in ECC. However in ECC, via trans SCOT, I can go to Utilities->inbox overview and view a log of what has happened. I can't find how to get to the inbox overview in CRM.
Anybody have a clue?
Thanks.That's just the thing. The path doesn't exist. Neither does transaction SOIN. I've discovered note 1104489, which states this interface isn't available until support pack 14 of SAP_BASIS 70. We are on 13. The note contains corrections that can be applied, however it states:
This note contains correction instructions that you can implement using the Note Assistant. However, these corrections are only a prerequisite for future notes. They do not contain the functions of the corrections that are delivered with the Support Packages. Implement these corrections only if the Note Assistant requests you to do so when you implement another note.
You can run report RSBCSIN to see the inbound requests, but no logs or anything. -
Sending Email from Oracle CRM OD but..
Hi All,
I have a request that I guess is quite common in the community.
When I create an appointment/task in Oracle CRM OD I define the appointment of course and I define a list of users that I would like to involve.
Actually there is no notification about the fact that I'm entering a new appointment in the agenda of my collegues.The same situation when I have to change time/day for this appointment. My question is: there is a way to notify the others users involved in an appointment when I change time/date? Thanks.Massimo
Example: I create an appointment and I insert in the user list John and Bob. Of course John and Bob calendar will be populated with my appointment (without any notification). Now, if I need to change the appointment, how John and Bob can be notified about the new appointment schedule?
Edited by: user12203357 on 26-apr-2011 6.28This functionality is not available in CRM On Demand at this time. However, CRM Desktop which provides this functionality will be available in R19.
-
Hi all,
on FSCM91, Tools 8.52,
which of the following is necessary to be able to send emails from PeopleSoft :
Prog Name Queue Name Grp Name ID RqDone Load Done Current Service--------- ---------- -------- -- ------ --------- ---------------
BBL.exe 49576 server 0 398 19900 ( IDLE )
PSMONITORSRV.e MONITOR MONITOR 1 0 0 ( IDLE )
PSAPPSRV.exe APPQ APPSRV 1 0 0 ( IDLE )
PSWATCHSRV.exe WATCH WATCH 1 0 0 ( IDLE )
PSAPPSRV.exe APPQ APPSRV 2 1427 71350 ( IDLE )
PSAPPSRV.exe APPQ APPSRV 3 1 50 ( IDLE )
PSSUBDSP.exe SUBDQ_dflt PUBSUB 300 0 0 ( IDLE )
PSSUBHND.exe SUBHQ_dflt PUBSUB 301 0 0 ( IDLE )
PSBRKDSP.exe BRKDQ_dflt PUBSUB 100 1 50 ( IDLE )
PSSAMSRV.exe SAMQ APPSRV 100 0 0 ( IDLE )
PSBRKHND.exe BRKHQ_dflt PUBSUB 101 1 50 ( IDLE )
JREPSVR.exe 00094.00250 JREPGRP 250 20 1000 ( IDLE )
JSL.exe 00095.00200 JSLGRP 200 0 0 ( IDLE )
PSPUBDSP.exe PUBDQ_dflt PUBSUB 200 0 0 ( IDLE )
PSPUBHND.exe PUBHQ_dflt PUBSUB 201 0 0 ( IDLE )
Prog Name Queue Name Grp Name ID RqDone Load Done Current Service--------- ---------- -------- -- ------ --------- ---------------
BBL.exe 59099 server 0 243 12150 ( IDLE )
PSMONITORSRV.e MONITOR MONITOR 1 0 0 ( IDLE )
PSPRCSRV.exe SCHEDQ BASE 101 0 0 ( IDLE )
PSDSTSRV.exe DSTQ BASE 103 0 0 ( IDLE )
PSDSTSRV.exe DSTQ BASE 104 1 50 ( IDLE )Thanks.To be able to send mails from PeopleSoft, open the configuration file of the appserver/proces scheduler and fill in the smtp server settings in following section
SMTP Settings]
;=========================================================================
; Settings for SMTP mail
; Allow Dynamic Changes under [Domain Settings] has no effect on these controls
;=========================================================================
; Dynamic change allowed for SMTPServer
SMTPServer=[your smtp server]
; Dynamic change allowed for SMTPPort
SMTPPort=25
; Dynamic change allowed for SMTPServer1
SMTPServer1=
; Dynamic change allowed for SMTPPort1
SMTPPort1=0
; Dynamic change allowed for SMTPSender
SMTPSender=[email protected]
; Dynamic change allowed for SMTPBlackberryReplyTo
SMTPBlackberryReplyTo=
; Dynamic change allowed for SMTPSourceMachine
SMTPSourceMachine=%PS_MACH%.peoplesoft.com
; Dynamic change allowed for SMTPCharacterSet
SMTPCharacterSet=UTF-8
; Dynamic change allowed for SMTPEncodingDLL
SMTPEncodingDLL=
SMTPGuaranteed=0
SMTPTrace=0
SMTPSendTime=0
SMTPUseSSL=N
SMTPSSLPort=465
SMTPClientCertAlias=
SMTPUseSSL1=N
SMTPSSLPort1=465
SMTPClientCertAlias1= -
How to send Email to customer when clicked on hyperlink on SAP CRM web UI
Hi all,
I am working with SAP CRM 7.0 EHP1. I have one field named Email on Complaint description page on Web client UI. I have made the field a hyperlink by using the setter getter methods of attribute in component workbench for the component -BT120H_CPL. Now I want to send one mail to customer who have raised the complaint when clicked on the hyperlink Email through SAP CRM if possible or by using Microsoft outlook(Microsoft outlook is default mailing server on the system).
Please help !
Thanks and regards,
Kavita Chaudhary
Mobile: 8800222151Hi kavitha Chaudhary,
if you wan to send any details to outside mail id first you should get that person mail id. based on that you can send data to that mail id by using this code...
just fallow this code in your event..
DATA: send_request TYPE REF TO cl_bcs.
DATA: text TYPE bcsy_text.
DATA: document TYPE REF TO cl_document_bcs.
DATA: sender TYPE REF TO cl_sapuser_bcs.
DATA: recipient TYPE REF TO if_recipient_bcs.
DATA: bcs_exception TYPE REF TO cx_bcs.
DATA: sent_to_all TYPE os_boolean.
TRY.
* -------- create persistent send request ------------------------
send_request = cl_bcs=>create_persistent( ).
* -------- create and set document -------------------------------
* create document from internal table with text
APPEND 'Hi to all' TO text.
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = text
i_length = '12'
i_subject = 'test created by srinivas' ).
* add document to send request
CALL METHOD send_request->set_document( document ).
sender = cl_sapuser_bcs=>create( sy-uname ).
CALL METHOD send_request->set_sender
EXPORTING
i_sender = sender.
* hardcoded value im passing here u should capture customer mail id here..
data : lv_email type string.
lv_email = '[email protected]'.
* --------- add recipient (e-mail address) -----------------------
* create recipient - please replace e-mail address !!!
recipient = cl_cam_address_bcs=>create_internet_address(
lv_email ).
* add recipient with its respective attributes to send request
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = 'X'.
* ---------- send document ---------------------------------------
CALL METHOD send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = sent_to_all ).
IF sent_to_all = 'X'.
WRITE text-003.
ENDIF.
COMMIT WORK.
* * exception handling
* * replace this very rudimentary exception handling
* * with your own one !!!
CATCH cx_bcs INTO bcs_exception.
WRITE: text-001.
WRITE: text-002, bcs_exception->error_type.
EXIT.
ENDTRY.
after this go to sost transaction.
first you can see first mail.. select your recent mail id execute then you will get email..
try this and let me know..
if this is not working then see this link too this might be help full to you.
Hyperlink in Email using Send Mail Activity
Thanks & Regards,
Srinivask. -
CRM 2011: Sending Email through Outlook first
We have never used Email through CRM. Is it possible to send an email through Outlook first then to CRM? Also wanting to make sure it is linked to the Account, when sent.
Emails created in CRM are sent using the outgoing email method specified on the account of the user creating the email. Only one outgoing method can be set for a user, the methods are to use the CRM client for Outlook or the Email Router (later versions
of CRM also have Server-side synchronization but that is not available for CRM 2011).
An email created in CRM can only be sent via one of the outgoing methods. Regardless of how it is sent, the email will be stored in CRM and linked to the record it was regarded to.
Can you provide more detail on your question? -
Testing of Broadcast email functionality in Peoplesoft CRM Online Marketing
Hi,
I am trying to create a marketing dialog in Peoplesoft CRM.It has a date time trigger event which is in turn associated with a broadcast mail. I tried running it for a test audience by clicking "Test" button. However, the email is not getting generated and it does not show any error on the page.The status of the dialog gets changed from "Design" to "In Test" also. Is there anyway to find out the reason why the email is not getting sent?I checked in the email job report and the trigger shows a status of "Queing". Also, I read somewhere about mailcasters. Is setting it up mandatory for broadcast emails?The dialog execution server has already been setup and is running successfully.i guess you are trying to use ERMS(email reponse management system in CRM) either support desk or help desk.
u need to configure a whole setup in order to make this functionality work.
please make clear whether this is the one you are trying to achieve.
ERMS functionality in short: it has all mail box servers in place. once the mail comes from a user to a mail box, based on content and information the email is routed back to respective mailing list. the person picks the mail and replies back to the mail box which routes back to the user requested.
it uses process schedulers,IB gateways, nodes,SMTP servers to do the job.
Thnks! -
Is there a way in PeopleSoft CRM 9.1 to send customers a customer satisfaction survey after their HR Helpdesk case has been resolved(other than Workforce Communications)?
Hello,
Could you please let me know if there is any way in PeopleSoft CRM 9.1 to send customers a customer satisfaction survey after their HR helpdesk case has been resolved(we do not have the 'Marketing' and 'Workforce Communications' menu options) ? -
CRM 2013 Online - sending email with CRM Online and jQuery
Hi,
I have a html page in webresource in a CRM 2013 Online form. There is a button to send an e-mail from the html page. Because this is an embedded html, I will not be able to create a plug-in to trigger 'send an e-mail'. The best bet
is to send an e-mail via javascript.
I found an article about 'Sending email with SharePoint and jQuery',
http://geekswithblogs.net/ThorvaldBoe/archive/2014/07/03/sending-email-with-sharepoint-and-jquery.aspx
Is there a similar Jquery way we can send e-mail from CRM 2013 Online? Thanks.Hello,
Actually you can send email through plugin using Actions feature. Recheck my articles about the feature -
http://a33ik.blogspot.com/search/label/Action
In case you anyway want to send your email directly you should recheck following articles:
http://mileyja.blogspot.com/2012/02/create-email-activity-in-microsoft.html
http://mileyja.blogspot.com/2012/02/send-email-synchronously-in-microsoft.html
Dynamics CRM MVP/ Technical Evangelist at
SlickData LLC
My blog -
Send email to Organization Unit in CRM 2007
Hello friends,
At tcode SBWP sapgui, It is possible to send a message to a Org. unit. , receipt type u201CH u2013 Organizational Unitu201D.
I need at CRM 2007 webui to do the same thing, send message to receipt type u201COrganizational Unitu201D but I could not find this option there.
I sending email through screen EMAIL in CRM 2007. At that screen I found options only to send message to individual emails from Lotus Notes/OutLook list, or individual user in CRM, but nothing from Organizational Unit.
My requirement is, at email screen, user must be able to send a message for all user assigned to a Org, so they will select the O.U. and CRM will send message for all users, but we donu2019t want to use Lnotes or Outlook groups, user must select a Organizational Unit.
Does anybody know if there is a way to do that at CRM 2007 webgui.
Regards,
LalasHi Lalas,
Users must be able to select which Org. Unit they want to send the message. It is not possible define rules.
Users must be able to type any text that they want as message text.
You can pass the org unit to the workflow and store it in a container element. Then use this element as reciepient type for the send mail step.
I don't think passing message text in such a way would be desired.
Then instead of using workflows you can use FM SO_NEW_DOCUMENT_SEND_API1 to send mail to the desired users.
Hope this helps!
Regards,
Saumya -
An advanced solution for sending email from Solution Manager (or CRM)
Hi all,
did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
<a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
I´ve got some problems:
I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
I´ve got some errors:
In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
- method string_to_soli does not exist. There is a method xstring_to_solix.
When I change to method xstring_to_solix
- "L_STRING" is not type-compatibly to "IP_XSTRING".
In method ZSM_ATTACH_PHIO_DOCU:
- field DOCUMENT is unknown
Regadrs
AndyHi all,
did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
<a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
I´ve got some problems:
I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
I´ve got some errors:
In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
- method string_to_soli does not exist. There is a method xstring_to_solix.
When I change to method xstring_to_solix
- "L_STRING" is not type-compatibly to "IP_XSTRING".
In method ZSM_ATTACH_PHIO_DOCU:
- field DOCUMENT is unknown
Regadrs
Andy -
System workflow sends email to only first user - CRM 2013
I have a system workflow to create and send email.
The "To" fields is set to owner;createdby;modifiedby.
But the email goes to only the owner(the 1st one).
If the sequence in "To" field is changed, then also the email goes to the first one.
P karHi Abhishek,
It is Okay to have one email.But if in "To" I am specifying 3 different fields(users), one email should go where ,
To : USERA;USERB;USERC .............
But it fails.The email goes only to the first user.
Whereas if I keep multiple recipients in CC it works.
Thanks
P kar -
CRM 2013 - workflow email sends email only to 1st user.
In system workflow, I am doing send email. and then setting the "TO", "From" and "Subject".
IF the sequence in "To" is as below,
owner is A
created By is B
"Submitted" is C (custom field) .
Then email always goes to the first one ie A .
If I change the sequence in "To" as below
"Submitted" is C (custom field)
owner is A
created By is B
the email goes to C.
Note: Owner/created by/Sumbitted are fields of an entity Product.
Plz help.
Thanks
P karIN system workflow, I am doing send email. and then setting the "TO", "From" and "Subject".
IF,
owner is A
created By is B
"Submitted" is C (custom field) .
Then email always goes to the first one ie A .
If I change the sequence in "To" as below
"Submitted" is C (custom field)
owner is A
created By is B
the email goes to C.
Note: Owner/created by/Sumbitted are fields of an entity Product.
Plz help.
P kar -
SMTP CRM Problem Send Email Message no. XS855
Hi Experts,
I try to send E-mail messages to external recipients, but getting following error message:
My configuration in the Tx. SCOT is the next
But when i try send emails to other domain distinct at local or external, the mail don´t is send but if try send it locally these if arrive.
Any idea?
Thanks and greetings.
Jerry SalazarHi,
Do you still have a problem with sending email?
If so, run report RSSODIAD.
The error may be due to an inconsistency between the communication interface and the address management.
When the report does not exist in your system, find the source code below:
*& Report RSSODIAD *
*& This report checks existence of the company address for direct *
*& addresses the profile points to. *
& If company address does not exist the pointer in the profile will be
*& deleted. A new company address will be generated on demand. *
REPORT RSSODIAD MESSAGE-ID SO.
INCLUDE RSSOCONS.
tables: sopr, adrc.
data: cnt like sy-tabix.
data lp_text(50).
Check authority
AUTHORITY-CHECK OBJECT 'S_OC_ROLE'
ID 'OFFADMI'
FIELD ADMINISTRATOR.
IF SY-SUBRC NE OK.
MESSAGE I015.
LEAVE PROGRAM.
ENDIF.
select single * from sopr.
if sy-subrc = 0
and sopr-diraddress ne space.
select count( * ) from adrc into cnt
where addrnumber = sopr-diraddress.
if sy-subrc ne 0.
update sopr set diraddress = space.
if sy-subrc = 0.
write: / 'Inkonsistenzen erfolgreich repariert.'(001).
lp_text = 'Inkonsistenzen erfolgreich repariert.'(001).
endif.
else.
write: / 'Keine Inkonsistenz gefunden.'(002).
lp_text = 'Keine Inkonsistenz gefunden.'(002).
endif.
else.
lp_text = 'Keine Inkonsistenz gefunden.'(002).
endif.
if not lp_text is initial.
message s672(so) with lp_text.
endif.
Maybe you are looking for
-
Cisco EPC3925 EuroDocsis Wifi turned off but light stays ON w/ recently updated firmware
hi there i have a Cisco EPC3925 EuroDocsis 3.0 2-PORT Voice Gateway and i just noticed that today they pushed an OTA firmware upgrade via ISP "Melita" here in Malta. It looks like now when i disable the wifi, the green led for wifi still stays on, di
-
The new user I created can't access YouTube.
I created a new user on my MacBook Pro. This new user appears to be blocked from accessing certain websites, namely YouTube. I have verified that the new user does have the ability to access any website under Parental Controls. The strange part is
-
Sharing Double-Audio (Voice + Sounds generated by Software in PC)
I use Software in my computer to generate "audio-visual output" which is visible on my screen. I share and discuss this with my Skype partner. The problem is purely audio. We use no webcam. To keep the concepts clear I define here:"AudioMIC" to mean
-
Why was i charged 51.98 on my account
why was i charged 51.98 on my account.
-
Se connecter a l'invite LOM de Sunfire 1280 avec Sunblade2500
bonjour tous le monde, j ai suivi deux procedure differente � fin de se connecter au serveur sunfire/netra 1280 exactement � l'invite LOM via le port serie A -avec un cable RJ45 offert avec serveur) : avec hyperterminal sous windows xp SP1 (que j'ai