Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Resend Email Functionality

    Well, being the impatient type, I wrote this feature. I had to modify the order.php class to store the initial email information in a table, and then I modified the admin/orders.php class to show a button on an order and also retrieve the information and resend the email.

    I will see if I can get it wrapped up and uploaded as a module.

  2. #2
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Resend Email Functionality

    Quote Originally Posted by Fjolsvith View Post
    Well, being the impatient type, I wrote this feature. I had to modify the order.php class to store the initial email information in a table, and then I modified the admin/orders.php class to show a button on an order and also retrieve the information and resend the email.

    I will see if I can get it wrapped up and uploaded as a module.
    Have you looked at the Email Archive Manager! https://www.zen-cart.com/downloads.php?do=file&id=101
    Theres no modifying files, just turning on an existing table, has the resend ability.
    Dave
    Always forward thinking... Lost my mind!

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Resend Email Functionality

    Quote Originally Posted by davewest View Post
    Have you looked at the Email Archive Manager! https://www.zen-cart.com/downloads.php?do=file&id=101
    Theres no modifying files, just turning on an existing table, has the resend ability.
    Remember though that the issue is the email address "is wrong" as part of the resend it needs to go to the correct/new address. In the stored data isn't the email address specifically stored not necessarily the customer_id? (of course could also be modified to accomplish that task though).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Resend Email Functionality

    Quote Originally Posted by mc12345678 View Post
    Remember though that the issue is the email address "is wrong" as part of the resend it needs to go to the correct/new address.
    I've not had any issues with resending having the wrong address!!

    I had to modify the order.php class to store the initial email information in a table,
    Personally, I would just recreate using the customer existing data and send it. Then you wouldn't need to store what was sent to resend.
    Dave
    Always forward thinking... Lost my mind!

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    Default Re: Resend Email Functionality

    Dave,

    You might want to re-read the part about wrong address. If the customer enters the wrong address (customreATgmail.com vs customerATgmail.com), then the database would contain the wrong address when used to resend the email ($to_address).

    If the mod does not have the feature, it would be nice to have the update of a customer also update the $to_address if the customer's email is changed.

    Not familiar with the mod. Perhaps the DEVELOPER_OVERRIDE_EMAIL_ADDRESS takes care of this?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Resend Email Functionality

    Quote Originally Posted by dbltoe View Post
    Dave,

    You might want to re-read the part about wrong address. If the customer enters the wrong address (customreATgmail.com vs customerATgmail.com), then the database would contain the wrong address when used to resend the email ($to_address).

    If the mod does not have the feature, it would be nice to have the update of a customer also update the $to_address if the customer's email is changed.

    Not familiar with the mod. Perhaps the DEVELOPER_OVERRIDE_EMAIL_ADDRESS takes care of this?
    It does not. That constant, if non-blank, identifies that all emails will be sent to the email-address(es) listed ... overriding any/all customer and/or admin-set email addresses.

  7. #7
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Resend Email Functionality

    Quote Originally Posted by dbltoe View Post
    Dave,

    You might want to re-read the part about wrong address. If the customer enters the wrong address (customreATgmail.com vs customerATgmail.com), then the database would contain the wrong address when used to resend the email ($to_address).
    Sorry, missed that part... was looking more at the stored part..

    While back I had written a admin page for testing html email formats and some other code I was working on for my login page that required an active account... Other than a button tagging the user email and id, then posted to a standalone page for review before sending. After I was done designing I trashed the code. I'll see if I can find or recreate the page as another option...
    Dave
    Always forward thinking... Lost my mind!

 

 

Similar Threads

  1. Resend prior email?
    By OrcaSoul in forum Customization from the Admin
    Replies: 2
    Last Post: 14 Jan 2012, 12:39 AM
  2. How to resend order confirmation email?
    By klf in forum Managing Customers and Orders
    Replies: 11
    Last Post: 3 Apr 2010, 01:21 PM
  3. can i resend a welcome email?
    By 1kell in forum General Questions
    Replies: 1
    Last Post: 14 May 2009, 01:22 PM
  4. Email timeout can I resend
    By steveyork136 in forum General Questions
    Replies: 1
    Last Post: 30 Oct 2007, 11:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg