COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Topic started by: zy on 17 Jul 2007 02:14:14 AM

Title: Change the From (Sender) of email
Post by: zy on 17 Jul 2007 02:14:14 AM
Hi,

Can we override the "from (sender)" of email sent by Cognos? How to do that?

thanks
Title: Re: Change the From (Sender) of email
Post by: larsonr on 17 Jul 2007 08:34:58 PM
Are you talking on a user by user basis? or the overall sender.

The overall sender is defined in Cognos Configuration under the Notification section.  This is the account that will be used to log into your email server and send mail as.
Title: Re: Change the From (Sender) of email
Post by: zy on 18 Jul 2007 01:57:25 AM
I want to do it on a user by user basis. By default, the sender is me. I want to change it to another From address.

Thanks
Title: Re: Change the From (Sender) of email
Post by: cognosfreelancer on 10 Aug 2007 04:00:47 PM
You can use SMTP to easily change the from address.

The from address can be anything and need not even be functional.

HTH
NKT
Title: Re: Change the From (Sender) of email
Post by: larsonr on 13 Aug 2007 07:56:14 PM
If you want the sender to change by report or by job, you will need to use the SDK I believe.  You will need to obtain the report output from the SDK and then fire up a mail procedure that automatically changes the from address per output or email you are trying to send.  In java, i use JavaMail to build my API for sending email based on certain scenarios, but will admit I have not tied it in with the SDK yet.  If you just need one global change to make your sender something like cognos@yourcompany.com, then just change the notification section of Cognos Configuration.

Title: Re: Change the From (Sender) of email
Post by: cogman on 16 Aug 2007 01:05:40 PM
Quote from: zy on 18 Jul 2007 01:57:25 AM
I want to do it on a user by user basis. By default, the sender is me. I want to change it to another From address.

Thanks

You can overwrite your email with others email in your access manager/ldap. Or login with other user and make him owner .