cancel
Showing results for 
Search instead for 
Did you mean: 

Generic sender email address

Former Member
0 Kudos

Hi all,

When sending email from a Support Desk Message, the sender is always the one who triggers the emailaction.

Is there a way to set a generic email address for the sender.

So the receiver of the email will see the generic email address as the sender and not the email address of the one who triggers the emailaction.

Kind regards,

Remy Piets

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey Remy,

Although i had not tried it previously, you can try this......

The Mails are send via smartforms calls inside class CL_DOC_PROCESSING_CRM_ORDER..

Method CRM_SRVORDER_EXEC_SMART_FORM of the above class is used to send the email...

When you call this class and the corresponding method, the interface parameter of the method ie( IS_MAIL_SENDER ) is of type SWOTOBJID....

So you can code something like..

is_mail_sender-LOGSYS =

  • is_mail_sender-OBJTYPE =

  • is_mail_sender-OBJKEY =

  • is_mail_sender-DESCRIBE =

This should solve your prblm.....

But as i said, this might involve some standard code modification.....

Else a diffrent strategy of sending Email..... ie we need use some other method (like METHOD CALL) in the Processing type of action defination or try and use some other BADI.....

Action defnation with smarforms MAIL as processing type wont work....

Hope my analysis helps you...

Reward if usefull..

Regards,

Anand..

Former Member
0 Kudos

hi Remi and Anand,

what is the eact solution. i have the same requirment.

The IS_MAIL_SENDER-OBJKEY is not taking the email address it has some 'USR000000000237' kind of value.

From where it is picking up the senders mail id.

Please share the solution.

Thnx

Divya