Closed (fixed)
Project:
Job Posting
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2009 at 20:37 UTC
Updated:
30 Sep 2009 at 17:18 UTC
Any suggestions? I think this is where I need to change it, thanks!!
function job_posting_mail_alter(&$key, &$to, &$subject, &$body, &$from, &$headers) {
global $user;
// intercept and alter confirmation mail only
switch ($key) {
case 'confirmation':
$confirmation = 'Thank you for your interest in a career at our company. "'
."\n\n".'You don\'t need to do anything'
.' further with this message (except maybe save it for your records).';
$headers['Content-Type'] = 'text/plain; charset=UTF-8; format=flowed;';
$body = t('!message', array('!message' => $confirmation), $user->language);
break;
}
}
Comments
Comment #1
shanep commentedOr even to be able to make the From and Reply-to emails be something static but not where they are sent. Like a masked email or something.. like the email is sent to NewJobs@domain.com and the From/Reply-to prints Careers@domain.com.. Make sense? Thanks for any assistance!
Comment #2
shanep commentedIs there no easy way to do this? I think I saw a similar post with the WebForm module, I'll see if I can find anything there. I changed this to a Feature Request. Thanks!
Comment #3
gmarus commented