Does anyone have an idea for generating an email to the applicant upon job/apply?

Using d5.21 with job search 5.x-2.0 and workflow_ng 5.x-2.2.

I tried using the workflow condition "User is going to view a page" using the path of "job/apply/[user:path-arg-2]". And I've tried just putting in the actual node id instead of the token. Neither works.

Any ideas or advice appreciated.

Thanks

Comments

goldoak jp’s picture

Title: Send email upon job/apply » Send email to applicant upon job/apply

Anyone have an idea for modifying the job search module to include an email response for the applicant?

The module already sends an email response to the job poster, so it seems most of the functionality is already there.
Just need it to send an email to the job applicant, too.

I'm using workflow_ng to generate the email for when the applicant completes his resume/application form, but wouldn't necessarily need to use it for this, if the job search module can do it instead.

I need someone to either modify the job search module to:
- send the applicant email on job/apply;
- or to expose the job/apply as a condition in workflow_ng.

We have a small amount of budget available to compensate someone if they can help with this.

Thanks
john

goldoak jp’s picture

Does the 6.x version of Job Search provide the "email to applicant" trigger?

barckhoff’s picture

Hi,

I'm using the 6.x version of Job Search and it does not have the feature of emailing the applicant built in, but it's a simple modification to change it. I assume the 5.x version should be a similar fix.

Simply go to the job_send_mail function in the job.module and change the recipient for the drupal_mail function from $job_user to $resume_user.

So, change this line:

drupal_mail('job', 'job_apply', $job_user->mail, $language, $params, $from);

to this:

drupal_mail('job', 'job_apply', $resume_user->mail, $language, $params, $from);

You can modify the email subject in the line that starts with $subject and the message by changing any of the bits that start with $body in the theme_job_mail function.

Prancz_Adam’s picture

Hi guys!

My portal is using job search modul too, and i'm working on rules integration with the job search modul but it is quite hard for me....
I think sending a html e-mail with rules is much more elegant solution than hacking the job search modul itself.

Has anyone got a solution for it?

xamount’s picture

Issue summary: View changes
Status: Active » Fixed

A temporary solution has been provided above. But if someone is willing to write the code for this, they should do it for the 7 version.

xamount’s picture

Version: 5.x-2.0 » 7.x-1.x-dev
Category: Support request » Feature request

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.