Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4061118
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:25:33+00:00 2026-05-20T15:25:33+00:00

I am totally new to drupal and have googled my self silly without finding

  • 0

I am totally new to drupal and have googled my self silly without finding anything even remotely useful.

I am told that ubercart sends out an admin mail automatically when an order is submitted by a customer.
I am trying to find the code that does this / controls this so that I can add a check for the orders ‘ship to’ country and set the admin mail email address based on that country.
So if the country is Canada I want an email containing the order to be filled sent to one email address if country is USA to a different email address.

If somebody could point me in the right direction I would appreciate it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T15:25:34+00:00Added an answer on May 20, 2026 at 3:25 pm

    I don’t know if there is any specific in Ubercart for this but I doubt it. Wha you can try is to implement the generic hook_mail_alter() hook. First, just print out the $message array then order something so see what you are working with.

    You can likely depend on the id to check if it’s an order notification mail and maybe the order object is even somewhere in the message array too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Totally new to Drupal so be gentle please! Let's say I have a number
I am totally new to SQL . I have a simple select query similar
I´m totally new to Powershell and wanted to write a script that deletes all
Totally new to Linux, have an Arch Linux machine up. What is the command
Alright totally new to jeditable, Say I have some <div> 's and <input type='hidden'
I am totally new to the subject of cron jobs so I have no
Totally new to Cake. I have this table named Content and another one named
I am totally new to programming and I have chosen Delphi as the programming
I need a password for an user as Drupal's installation asks that. I'm totally
Totally new to custom control creation in Silverlight. I'm wanting a custom control that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.