Email FROM not the same in ALM 11

by Community Manager on ‎12-04-2013 08:33 AM

Question

Using Send Email script, the FROM in an email is not consistent with what we had in QC 10.  Instead john.doe@email.com it now has the user name at email server (i.e. jd123@email.server.com).  So everyone that has outlook rules are complaining.  I've trying writing code to fix it but it always reverts back to the user name at email server.  Is this an issue with ALM or on the email server not converting the user name to the full email address?

Answer

You can check ALM Site Configuration Parameter FROM_EMAIL_ADDRESS.

Here is the description of the parameter from HP ALM 11.00 Administrator Guide:

 

If a user clicks the Forgot Password link in the ALM Login window, an email notification is sent to the
user with a link to specify a new password.


This parameter enables you to change the emailaddress in the email From field.

Comments
by Honored Contributor on ‎12-05-2013 03:46 AM

But this is not really the same issue, is it? In my experience,  FROM_EMAIL_ADDRESS has no effect on SendMail. And the description in the Admin Guide says nothing about that.

 

What I think might be relevant is a fix in patch 10 in ALM 11.0:

 

"QCCR1J26307 – The workflow action SendMail used the wrong email address in the From field"

by Honored Contributor on ‎12-05-2013 04:09 AM

FROM_EMAIL_ADDRESS is not a global parameter and cannot be used in the Site Config tab to apply for all projects. It has to be entered into the DATACONST table of each project individually.

 

INSERT INTO DATACONST VALUES ('FROM_EMAIL_ADDRESS', 'Someone@email.com')

 

In cases where the FROM_EMAIL_ADDRESS already exist, the query provided cannot be used because the record, it’s going to show an error, we can use the following query:

 

UPDATE DATACONST SET DC_VALUE = ' ”@”' WHERE DC_CONST_NAME = 'FROM_EMAIL_ADDRESS'

 

You need to check with your SMTP admin on how the emails are sent to external users and implement the same in QC.

by SadiqRehman on ‎10-24-2014 12:42 PM

I have used the below command with the proper email address and the command added this variable and still I see that ALM is sending email from the default email ID setup in the site admin configuration.

 

Does this need ALM restart?

 

 

INSERT INTO DATACONST VALUES ('FROM_EMAIL_ADDRESS', 'Someone@email.com')

Search
Showing results for 
Search instead for 
Do you mean 
HP Blog

HP Software Solutions Blog

Featured


Follow Us
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.