I'm building a service for a company. The users of the service will send survey links to a list of email addresses. I'm going to use Mandrill as an email engine for this. The service is built using Laravel.
The users will feed a list of email addresses to the service that will generate emails (unique for every email address) and send them through the Mandrill API.
BUT, of course there will be errors made by the users. They will feed some bad email addresses in and emails will bounce. I need to find of way of notifying the users of the service that some emails have bounced.
Is there a way to get Mandrill to send a list of bounced emails to the sender or reply address?
Me as a developer has the Mandrill account of course, but I'm not interested in the bounce information - that has to go to the users of the system. So they can take action and correct the errors.
Thank you.
I see from Mandrill API that it is possible to get the status of sent e-mails with call /exports/activity.json as described in https://mandrillapp.com/api/docs/exports.JSON.html#method-activity
If you get any bounced e-mails from there then you can manually send the corresponding messages to the users who you want to.
Related
I have a website with a webform which users can use to contact a company. The webform internally creates an email in PHP using PHPMailer and is sending this email via SMTP to the company.
The company has a customer-management-system which identifies the user by looking at the sender of the email. Which means I couldn't send the email from the form from "form#example.com" to "customer-relations#example.com", but need to send it from "customeremail#customerdomain.com" to "customer-relations#example.com".
This worked for some years now, but since some time, we get the error-message:
"envelope sender not allowed customeremail#customerdomain.com"
for example from emails from #gmail.com. Other domains still work.
I understand that it is not good practice to "fake" the sender of the email to make the identification of the customer-management-system work. The developer of the customer-management-systems are not able to offer a solution yet (no comment on that...), so perhaps there are any ideas here which we could try to make this work?
I have an issue with a Prestashop 1.6.1.6 where the "eshop" doesn't receive any order email, but the customer receives them properly. The Prestashop is hosted on a shared hosting server with cPanel, running PHP 5.5.
I have checked the above so far:
Under Preferences->Store Contacts->Shop email, the email is correct.
After a successful order as a customer, in cPanel->Mail->Mail Trace, i can see the delivery attempts to customer's email but not to "eshop" email.
Have installed, enabled and configured properly the module "Mail Alerts", entered 1 and more emails in E-mail addresses, but didn't receive any email as the "eshop".
Tried the option: Advanced Parameters->E-mail->TEST YOUR EMAIL CONFIGURATION->Send a test email, with the "eshop's" email address and it worked, bot with PHP mail() and with SMTP.
I have sent an email via the contact form (as a test customer) to Webmaster and to Customer Service and both the client and the "eshop" received the mail.
Sent a test email via thunderbird to the "eshop's" email address and it worked.
Made a new registration as a test customer with a valid email address. The test customer received the "Welcome" email, but the "eshop" didn't receive anything. (i am not really sure if the "eshop" should get any notification mail in this case to be sure, but i tried it).
What i understood so far, is that the mail functionality works for contact forms, test emails via Prestashop, test emails via thunderbird, but not for any kind of orders.
I don't know if there is something else to try to find the problem.
Is there any other option in Prestashop, which prevents the order emails to be sent to the "eshop"?
Is this a bug in Order Functionality?
Any idea would be useful since i don't know what else i can do. Thank you in advance.
if in "eshop" you meant merchant, by default Prestashop does not send these notifications to "admin",
install the Mail alerts module, and there are options to send different types of emails to provided addresses.
It would look that you have the email template in "modules / mailalerts / mail / in / new_order.html"
Regards,
Present I am using Sendgrid for sending transnational emails after donating/ registering the user. and Constant Contact for sending news letters to subscribed users in my website.
I want to use only one server for both.
Is there any possibility to send transnational emails using Constant Contact.
I have already searched in developer.constantcontact website. But there is no exact solution. In that they given api for adding emails to list in campaign. and creating campaign and sending email to all users in that list.
Is there any possibility to send email notification to registered/donated user immedieately without creating Campaign.
Please hemp me.
No.
You'll need to use something like Mandrill by MailChimp for transactional emails. Maybe CC will add support at some point, but I wouldn't count on it.
We manage a website which gives agents the ability to enroll members across the country. At times, the member or agent will enter a bad email address during the enrollment process and important PDF'd information cannot be delivered to the member.
Similarly, an agent may try and recruit a sub-agent and have the same issue.
Is there anyway to automatically redirect returned emails (Delivery Status Notification (Failure)) to the responsible party instead of to our primary email?
i.e. Agent 1 recruits Agent 2. An email is attempted to send from recruit#domain.com but the address for Agent 2 is invalid. The system automatically recognizes the message type, formats and sends Agent 1 a note saying the email he/she entered was bad.
Note: I am using Google Apps Standard for all of our mail delivery currently while our platform is built on php and mysql.
make a special email for example "recruit-system#domain.com" and send every mail from this account. after sending a recruiting mali via that account, make shure that you save the destination e-mail adress in your database connected with the according agent who sent that mail so that you can determine who sent that email afterwards. make shure this account is only being used by your app. then make a cronjob for a php script that connects via smtp to that account and let it check out if there is any mail that returned. If there is any email look from where that mail came and look it up in your database and send the notification to the according agent. that's how i would do it.
I'm using AuthSMTP which is a paid SMTP Relay service. They only support a finite amount of "from" email addresses, which must be proper accounts.
This is my first site build and I'm trying to get my head around how to implement email.
When a user registers with the site or forgets their password, I have an 'info' email account which these messages come from. This works.
However, how do I go about the contact form? I want the email to come from the user who filled in the contact box TO the info inbox. I need to be able to reply directly to them.
How can I do this is my server won't allow the email to come "from" the user? if I use the "reply-to" in the headers, what do I put for the "from" field?
put the email address you are logging in with