Hot answers tagged

9

It can be many reason for this - first needs to check if domain or Server IP (can be for shared hosting) was not blacklisted. Then check email header - you will have a whole picture if any spam flags here, servers ip, from what server is come etc. For example your email can failed DomainKeys (DKIM) test. What I usually do, is setup mail setting for using ...


6

Have you considered using Freeform? http://devot-ee.com/add-ons/freeform It is not advised to run PHP inside of your templates for various reasons. You are much better off using an addon to accomplish this.


6

I worked through this with Justin and wanted to post this so others can use it. Basically I have a mod file with a custom function that logs when an image is downloaded. My variables are all logged after being set up. Here's the variables: $my_download = array(); $my_download["size"] = $image_size; $my_download["entry_id"] = $entry_id; $...


6

I'm pretty sure you can do it with MX Notify Control and it's free: http://devot-ee.com/add-ons/mx-notify-control I've never tried it before so, consider it an option vs a recommendation if that makes sense :) And just for the sake of being thorough there is also Postmaster though, it of course isn't free: http://devot-ee.com/add-ons/postmaster


6

These posts gave me the hints I needed. For others it seems they may have to change email_newline and email_crlf to "\r\n" in your config/bootstrap. CodeIgniter has a smtp_crypto config that can be either ssl or tls. I needed tls to work with AmazonSES. The actual config used by EE is email_smtp_crypto (same for port, docs say smtp_port but in the source ...


5

Solspace's Freeform has a dynamic recipients functionality that just might serve your needs. I quote: recipients="yes" This parameter allows you to let your users select recipient email addresses dynamically within the form itself. So for example, you can have a dropdown select menu that allows your users to select the destination for their email (...


5

EE's contact form does not support custom fields per se (i.e., it doesn't support the custom fields you'd use for your channels), but you can have multiple fields populate the message by naming each with an array syntax: <label for="message">Your Message</label> <textarea name="message[]" id="message"></textarea> <label for="how"&...


5

With Google's move toward stricter security measures regarding how third-parties connect with their services, there's now another step required to set up ExpressionEngine to send email through Gmail. Beginning to end, here's how to do it. Step 1: Allow "Less Secure Apps" to Access Gmail Sign in to the Gmail (or Gmail-powered Google Apps) account you want ...


5

When I've had this happen before with regular php mail code, I've used something like this: $sent =""; if ($sent == '0') { $this->EE->email->Send(); $sent = 1; }


5

I’ve been down this road a number of times, and have even had problems with emails originating out of an EngineHosting server while email was handled through Google Apps. There’s probably a problem between what your server is reporting its address as and what your email that’s being generated says its from. I would highly recommend moving all transactional ...


5

I'm going to suggestion bypassing the companies setting all together. This is partially to avoid troubleshooting them (if it's the EE install, you'll run into the same issues with my suggestion), but mostly because I've become a big fan of monitoring transactional email. We work with nonprofits, but I still agree that the missed opportunity is there. But ...


5

In order to allow the apostrophe, I had to hack the core code. Specifically, a CodeIgniter helper within: /system/codeigniter/system/helpers/email_helper.php In there, find around line 40 this: return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $address)) ? FALSE : TRUE; Then replace that line with this instead: ...


5

You should be able to use an available plugin to encode things for URLs. I haven't tried or used this plugin, but I think the syntax would be something like this: <a href="{mailto_email}?subject={exp:url_encoder method='rawurlencode'}{title}{/exp:url_encoder}" target="blank"> As a last resort, you could also use PHP and run rawurlencode() on it, like ...


4

When an order is placed, any email triggered by the default order status will be sent. For example, if your default order status is "New", and you have an "Order Confirmation" email template set up, and your email template is assigned to the "New" status, it will get sent when each order is placed (this is set up when you first install Store). Currently ...


4

No there isn't. The internal mailing list just handles email addresses. It's not meant to be a full Email Management System, just a method for you to provide general communications via ExpressionEngine. ExpressionEngine integrates well with numerous other Email Management Solutions (EMS). You can use MailChimp, Campaign Monitor, Emma, Constant Contact, etc. ...


4

I had the same issue, and ultimately discovered it was caused by a setting in Focus Labs EE Master Config. In config.master.php around line 258 you'll find: /** * Member-based settings */ //$env_config['profile_trigger'] = rand(0,time()); // randomize the member profile trigger word because we'll never need it I'm not sure why randomising the ...


4

it is not possible to do this with standard EE function. So you need make a new add-on - module with action which you can run by cron. Every time when cron will be run, you can get unread PM for last 24 using next query: SELECT md.message_id as message_id, md.message_date as message_date, md.message_subject as subject, md.message_body as message, mc....


4

You might want to take a look at Postmaster (https://objectivehtml.com/postmaster/) for doing this. With Postmaster I believe you can create 'tasks' which can be executed by cron and it provides facilities to handle custom messaging etc. It's also possible to set up notifications with some templating logic and these can also be triggered via a cron. I'm ...


4

You should be able to do this with the query module in a template (or with a query directly to your database, of course). Something simple like this should output what you need: {exp:query sql="SELECT email FROM exp_mailing_list WHERE list_id = '1'"} {email} {/exp:query} EDIT To improve this furher, you could use the Download Content plugin like this: {...


4

The WYGWAM field has this setting option. I just used it on my last project. Worked perfectly.


4

The best way to fight with email spam is to have good spam filters :) set emails to be automatically converted into images, with hyperlinks beneath Spiders is not looking on visible text only but on hyperlinks also, so is not enough to replace text only. You can try MD Spam Me Not or Obfuscatee - this addons is do emails obfuscation.


4

This is really easy to do with Postmaster. You just have to setup a Hook that uses the "Send System Email" hook. First click "New Hook. Then select the "Send System Email" hook. Be sure to check "End Script" or else two emails will send (the one from Postmaster and the original). You can see below I have titled the hook "System Emails". This is all that ...


4

Postmaster is definitely a viable option for this. You could create a Notification to send email's using MailChimp, which I think would be better than CampaignMonitor for this. You could just setup a CRON job to send these notifications whenever you wanted. And if Postmaster doesn't get you everything you need out of the box, the API could be used to bridge ...


4

Bluehost (and maybe other hosting companies) filters these activation messages. What I was told by the level III tech: This was difficult to track down, but I was able to find that the message was getting caught in a spam filter because of the subject of the message subject="Enclosed+is+your+activation+code". This looks to be a common subject that ...


4

Likely a server issue. You host the site at GoDaddy, but your email is hosted (looking at your MX records) somewhere else. Its likely your server has a local configuration still to handle email for your domain name, maybe a recent switch to another email provider? Your server would listen to the local mail server configuration and deliver locally before it ...


4

Using SendGrid or Mandrill are great suggestions. Using Escort can help make that an easy process. If you don't want to go that route you might also want to look into creating an SPF record wherever you are hosting your DNS for this domain name. That helps identify which mail servers are allowed to send email from a specific domain. There are a few wizards ...


4

Benek, i was in the same situation.. What i did was a bit simple (not sure if it's the best way or solution) I simply hacked the Sendgrid.php located in /third_party/postmaster/services/Sendgrid.php Modified public $url = 'http://sendgrid.com/api/mail.send.json'; to public $url = 'https://api.sendgrid.com/api/mail.send.json'; as stated on ...


3

My add-on Postmaster is already available and by far the most comprehensive email solution for ExpressionEngine. It has a series of robust API's developers can extend to do really custom stuff. But it also includes UI's and plethora of options to send emails at just about any time without writing any code. v1.3 is in beta and brings a whole new Notifications ...


3

Unfortunately unique email address is EE core requirement, you cannot override without modifying system files. You may consider using some add-ons for advanced permissions management, such as Member Categories or MSM Member Group Switcher Actually I think MSM Member Group Switcher might be the thing you're looking for, as it allows the user to be treated ...


3

Here is the hit list I would go down: Check the email addresses on outgoing messages (Admin -> Email Configuration AND Members -> Preferences). The shopping carts that set up member accounts have additional settings. Learn about the SPF (Sender Policy Framework) DNS records which notify other mail servers of who may send mail from your domain. GoDaddy has a ...


Only top voted, non community-wiki answers of a minimum length are eligible