When you look at the “System > Job Queue” screen, you see one line that shows this error…
Action: BulkAddCSVToProduct
Message: Error in CSV File
You were probably trying to to Bulk-Add Users to DAP. Or do a Broadcast email to a CSV file. In either case, there was an error in processing your request, because one of the following happened:
1) The CSV file could not be created in /dap/bulk/ folder because of a permission issue (try CHMOD 755), so when the cron task ran, it could not find the CSV file (or the file was corrupted for some reason).
2) The list of email addresses within the CSV file were not in the right format – Order should be: Email,FirstName,LastName ( LastName is optional)
If a job fails, then there’s no way to “fix it and re-run it” right now. So you basically have to delete the job, and then submit a new one. So if a Bulk-Add job erros with the above message, then here’s what you need to do…
A) Click on the “Delete Jobs In Error” link on the “System > Job Queue” page. That will delete all jobs that have failed for whatever reason.
B) You should also clear out the /dap/bulk/ folder to make sure you delete any old, or errored out CSV files from that folder.
First upload file(s) to be attached to the emails, to the folder…
/dap/admin/attachments/
On the Email > Autoresponders page, any file(s) uploaded above, show up as in the image below. When composing a new email, just click on the “add” link next to the file name to be attached to that email.
Same deal for broadcast emails. The uploaded file shows up as follows. Click on the “add” link to add to the broadcast email to be sent.
Problem: Someone buys a product from your site, and you can see in the DAP “Manage Users” page that they have been added as a user, but that user never gets an email with their login/password. All they get is the confirmation email from the payment processor.
You want to know: “How can I get my users to automatically receive a “welcome” email with their Id/password” from DAP?”
If the users got added and the user status is “A” in the DAP manage users page, but the user did not receive welcome email with their ID/Password, it could because:
[NOTE: In newer versions of DAP, “Thank-You Email” is now being called as “Welcome Email”. So wherever you see “Thank-You” below, please note that it’s the same as “Welcome”]
For that product, you did not set the ‘thank-you’ email subject/body in the DAP Products Page.
Select the product in DAP products page and set the thank-you message content as shown below.
You have set up the thank-you email message, but the email still did not get delivered.
Solution 1
The only time the Welcome Email is sent, is when a user is given access to a Product for the very first time. If you are trying to add a user to a product, and the user already has been given access to the product, then it won’t send out the welcome email the second (or subsequent) time(s). So make sure the user you’re testing with does not already have access to that Product. If she does, then remove access to the product before testing again.
Solution 2
Go to DAP Setup > Config > Basic and make sure the “Admin Email” is set to an ’email address that resides on your domain/hosting account where DAP is installed’ instead of say a gmail or hotmail or yahoo email address. Now, if you have done everything in terms of making sure there’s no reverse DNS lookup issues with your host but if there are still users who do not receive emails (and the email is not in their spam folder) :
Here’s what you can do:
1) Setup dap to generate default password (dap setup -> config -> advanced) and instruct users to change their password right after they log in.
OR
2) Set up an autoresponder email in DAP to drip day 1 with the merge tag for login id/password. So even if the thank-you email is not delivered right after purchase, when the cron runs at the top of the hour, it will send out the id/password again.. in case they did not receive it the first time.
You can have dap connect to 3rd party smtp service like AuthSMTP.com to send out all autoresponder/broadcast emails for better email deliverability.
BTW, if you have tried everything and still the emails are not getting delivered or is landing in the SPAM folder, then please checkout our documentation on troubleshooting email delivery here:
http://www.digitalaccesspass.com/doc/troubleshooting-email-delivery
The only time a new user shows up with the status “Unconfirmed” is if you have “Double Optin” turned on for that product to which he just got access.
When you have double-optin turned on, then their initial status is “Unconfirmed” because you want them to click on the “Double Optin” link and confirm their intent to get access to your product, after which their status is automatically changed to “Confirmed”.
So to make sure Users are always created with “Confirmed” status, just remove all text from the “Double Optin Body” and “Double Optin Subject” of the Product in question.
If your product is a “Paid” product, then obviously, you don’t want people who just bought your product by filling out a shopping cart, to have to go through another double-optin confirmation process. So for paid products, you should probably not force double-optin.
Double-optin is best when you’re signing up free users for a free product via the DAP Direct-signup Form.
DAP has a feature where you can ask DAP to always generate a pre-determined, default password of your choice for all new members.
So all new users will be assigned the same default password, which of course, they can change as soon as (or any time after) they login.
This is especially useful if you want a third-party service like Aweber – instead of DAP – to send out the new member’s “Welcome Email” which contains their email and password.
Since DAP is unable to pass the randomly generated password to Aweber, instead, you can setup a default password by going to
Setup > Config > Default Password
This can be found under the Miscellaneous section on that page.
So if you set this password to say, changethis, then DAP will give out the same password to all new users.
Then, in the welcome email you configure at, say, Aweber, you would put the Aweber merge code for email id, and then enter this pre-selected password (because you already know what it is) into your Aweber email, like this:
Hello {!firstname},
Welcome to Example.com. You may log in to your member’s area at:
Email: {!email}
Password: changethisThank you,
– Admin from Example.com
And if you ever change the default password in DAP, don’t forget to also change it in your welcome email at Aweber (or 3rd party email service).
Also, don’t use the default password in any subsequent emails, other than the Welcome email (very first email sent to member through Aweber), because the member may have already changed their password by then.
WARNING: You must have also set up DAP/Aweber integration first before you attempt to do this.
Follow this documentation page for Aweber-to-DAP integration only if you’re using DAP 4.3.1 or older.
The flow of subscriber in this model, is “FROM Aweber TO DAP“. User gets added to Aweber first, then arrives at DAP via Aweber “thank you page”, at which point she gets added to DAP.
Now, if the flow is from DAP-to-Aweber, and are using email parsing to integrate DAP and Aweber, then your Aweber list will always be double-opt-in (as per Aweber policy, nothing to do with DAP).
But if you want your Aweber list to be single-opt-in, then you can use an Aweber signup form on your squeeze page (instead of the DAP sign-up form) and then have Aweber add users to DAP.
Please note that you cannot use this flow for Paid members – because paid members will need to have paid first, which means DAP needs to process their payment first, and if successful, it can add them to Aweber. So for paid members and paid content, always use the other DAP-to-Aweber flow.
But for free signups (say, like when you’re trying to build a list), you can add them to Aweber first using the flow explained below, just so you can take advantage of making your Aweber list single-optin, and then have Aweber add the subscriber to DAP on the other end. So this way, DAP can then create a free account for them, email them their login/password, and give them access to the “Free” content (that is, content available only to “Registered” users, so to speak), etc.
So here are the steps…
1. Go to DAP Dashboard > Products > Manage page.
2. Note down the Product Id of the product to which you want to sign-up the users (after adding them Aweber first, of course)
3. There is a file called dap-aweber.php in the dap folder. Make a copy of that file and call it dap-aweber-PRODUCTID.php.
Replace with the text PRODUCTID with the actual Product Id you noted in the previous step.
So in the example above, Product Id is 2. So the name of the file copy should be dap-aweber-2.php.
4. Open this file (dap-aweber-2.php).
The first line of code in this file looks like this:
$default_product_id = 1; //Change this to any product id from DAP
Change the part shown in bold below:
$default_product_id = 2; //Change this to any product id from DAP
Upload this file back to /dap folder on your site.
If your Aweber list is single-optin, then follow the steps below. If not, skip to “Aweber List Is Double-Optin” flow further below.
5. Now login to your AWeber account.
5A) From the “Current List” drop-down, select the list that you wish to sign up users to.
5B) Click on “Web Forms” in the menu at the top.
5C) Edit existing form by clicking on the name of the list.
6. On the next page – the list form generator page – click on ‘Go to Step 2’ towards the bottom of the page.
7. On the next, page….
7A) Click on the thankyou page dropdown and select ‘Custom’.
7B) Set the thank you Page URL to http://YourSite.com/dap/dap-aweber-PRODUCTID.php
Replace YourSite.com with the name of your site.
Replace PRODUCTID with the ProductId of the product you noted in step 2.
So, if the productId of the product in DAP is 2, then the thankyou page URL will be – http://yoursite.com/dap/dap-aweber-2.php
7C) Where it says “Pass Form Data”, check the check box so that Aweber can “Forward subscriber information to your thank you page” – which essentially is DAP, so that DAP can add the subscriber to your membership site.
That’s it!
In this flow, set up your Web Form as usual, with no DAP-specific settings required.
Only change required is in the Aweber list’s main “List Settings” page.
5. Now login to your AWeber account.
6. From the “Current List” drop-down, select the list that you wish to sign up users to.
7. Go to My Lists > List Settings
8. Go to “Confirmed Opt-In” tab
9. Scroll down to “3: Success Page“, and enter the URL of the special dap-aweber-2.php script (or whatever the file name is) you created back in Step #4 above.
Check the check-box that says “Pass subscriber info for personalizing this page”.
Ignore the comment that says “Not recommended for WordPress users”, because this is going to point to a DAP script, and not a WordPress page.
Click on “Save Settings”.
That’s it!
Now that you’ve set up DAP to integrate with your Aweber list (single- or double-optin), you may use the Aweber web form directly on your squeeze page for signing up subscribers (instead of DAP’s “Direct Signup Form”).
Now, every time a subscriber signs up via the Aweber form, they will automatically be added to DAP.
If your list is single-optin, then the subscriber will be added to DAP instantly after sign-up.
If your list is double-optin, then the subscriber will be added to DAP only AFTER they’ve clicked on the Aweber double-optin confirmation link.
In both cases, they will be redirected to the DAP Login Form.
You may also configure the DAP Product’s “Welcome Email” to send out the DAP email and password via DAP itself.
-OR-
You can leave the Welcome Email in DAP Product page as blank. And then configure DAP to generate a default password (DAP Admin > Setup > Config > Default Password) as shown below, and then enter that same pre-chosen password in to your very first Aweber follow up email that goes out to your subscribers, so that they can receive their dap id/password details directly from your Aweber list.
For more details about this default password, please see this post.
NOTE: If you want to send the subscriber to a different page (instead of the DAP login page) upon sign-up, then do this:
This way you can redirect users after they complete the Aweber signup, to a landing page of your choice.
DAP is not an email service (like, say, Aweber).
DAP is just a script – a tool – like Microsoft Outlook or Thunderbird – that simply sends out email using your web host’s email server.
It is your web host’s mail server that actually sends out the email to the recipient. So once DAP notifies your mail server about a email that is to be sent, it has absolutely no control over what happens next.
It’s like when you put an envelope with a letter (regular mail) into the mailbox (post box). It is up to the Postal Service to actually pick up your letter, and deliver to the destination address. Your web host is like the Postal Service. If it doesn’t pick up and deliver the (e)mail, then DAP doesn’t have any say in it.
So if the emails that DAP sends out are not getting delivered to your recipients (or landing in the spam/junk folder of the recipient), there could be more than one reason for that.
DAP uses your web host’s email servers to send out emails.
Here are some ways to improve email deliverability and also avoid your email landing in the recipient’s junk/spam folder.
If you are on a shared host, you may even consider totally by-passing sending emails through your web host, and instead use DAP’s “SMTP” feature to send emails out through an external email system – like Amazon’s SES (Simple Email Service) , Gmail or AuthSMTP.com.
If Admin notifications are going out ok, but the welcome email to the buyer/member is not being delivered, then see Troubleshooting Welcome-Email Delivery
If yours is a new site setup, then this is usually because the hourly cron-job has not been setup.
However, if the emails were going out fine previously, and suddenly stopped going out, then it usually is because…
Steps to troubleshoot
If your inexpensive (read as cheap 🙂 shared web host is hosting a large number of sites on one server, and one of them knowingly sends out spam (or mistakenly gets flagged for spam), that will put the email deliverability of every web site on that server in jeopardy, because your site now shares the same IP address as that of an “alleged” spammer.
So your emails get sent to junk/spam folder by Gmail and Yahoo. Or worse, they just totally disappear into the ether.
Almost all shared hosts have hourly email sending limits. For example, DreamHost has an outgoing limit of 300 emails per hour. Which means, a total of only 300 emails can be sent out per hour through any web site hosted on DreamHost. All of the following count towards the 300 limit:
So do you see how quickly you can go over that hourly limit of 300 emails per hour?
But here comes the worst part…
Once you go over that limit, any emails that are actually sent by you or the scripts running on your site, will not actually result in any kind of error. The mail server will respond by saying that the email(s) has been sent successfully, but in reality, on the backend, it quietly “snuffs out” the email. Which means, it doesn’t go anywhere – just gets sent to a “blackhole”. So you keep thinking that you sent out the email. DAP keeps thinking it has sent out the email. But in reality, the emails never actually get sent.
This is the same as you actually putting your letter into the mailbox at the Post Office. But then, imagine this: The postal worker who comes to pick up your mail, quietly goes to the back of the post office and dumps it all into one giant trash can, and destroys all of the mail. So you’re thinking you actually mailed out that important check to pay your utility bill. But the utility company never gets your check, and they slam you with a late fee.
1) BEST OPTION: DAP + 3rd party SMTP service provider like Amazon SES, AuthSMTP.com or SMTP.com. (much less expensive than Aweber, and very reliable too)
2) DAP + Aweber (more expensive, very reliable)
3) DAP + Good web host (cheapest option, but can lead to mixed results – depends on your host).
You could always use DAP and external SMTP service provider like Amazon SES, AuthSMTP.com or SMTP.com to send out bulk mail through DAP while totally bypassing your web host’s email system. This is probably the first best option where DAP controls the composition and sending of the email, the 3rd party service controls the deliverability.
Next best option is using a service like Aweber or GetResponse.
And if you can’t afford even that, then simply use DAP on a good web host. We ourselves use just DAP and LiquidWeb’s email servers to send out emails to all of our users.
And DAP also has built-in job queues to schedule outgoing emails while also making sure that you don’t exceed your web host’s hourly email sending limits (dreamhost’s limit is 300 emails/hour, I think). We use multiple SMTP servers from our own other web sites, all combined to be able to send a few thousand emails per hour.
But even with a lot of planning, it is easy to go over the hourly limit.
So the next time you see in your Job Queue that emails were sent out successfully, but the recipient never received it, here are some things to check:
1) It landed in your recipient’s junk/spam folder. Ask them to whitelist or add your email address to their contacts list.
2) You have overshot the limit, so you would have to actually send out the email again.
3) Try to send out broadcasts during a low-traffic time – say like later in the night – when you’re not actively sending out emails, and using up precious email counts from that hourly quota.
http://DigitalAccessPass.com/documentation/?page=/doc/troubleshooting-email-delivery/
You wish to do what we call a “silent” import. Basically, you don’t want DAP to send out the instant “thanky-you” email to the users being imported.
You may want to do this, say, if you wanted to import a bunch of users into DAP first, without DAP sending them any kind of emails at all, do some preliminary testing, make sure their settings, product access, etc, are all correct, before notifying them of any changes.
1. Remove the “ThankYou-Email Subject” and “ThankYou-Email Body” from the Product into which you wish to import users. Save it in a text file for later, and save the Product.
2. Go ahead and do the bulk-add of users from “Users > Add > Bulk-Add Multiple Users To A Product”.
3. Wait for the DAP Hourly Cron to run and finish importing all users. Since the “ThankYou-Email Subject” and “ThankYou-Email Body” of the Product is empty at the time of import, DAP won’t send out those emails.
4. Once all the users have been imported, put back the “ThankYou-Email Subject” and “ThankYou-Email Body” text content, and save the Product.
OPTIONAL
5. At a later point, if you want, you can send out an Autoresponder email – or even better, a Broadcast email – with the merge codes for the email and password, if you want the newly imported users to get their passwords, or if you wish to notify them of anything at all (like the new system you’re using, their new account info, a general “what has changed recently” type of email, etc).
Here are the merge-tags that you can use in outgoing autoresponder and broadcast emails sent through DAP.
%%FIRST_NAME%%
This will be replaced by the first-name of the user.
%%LAST_NAME%%
This will be replaced by the first-name of the user.
%%EMAIL_ID%%
This will be replaced by the email id of the user.
%%PASSWORD%%
This will be replaced by the password of the user.
%%SITE_NAME%%
This will be replaced by whatever text you have entered in “Setup > Config > Basic > Site Name” in your DAP Dashboard.
%%ADMIN_NAME%%
This will be replaced by whatever text you have entered in “Setup > Config > Basic > Admin Name” in your DAP Dashboard.
%%ADMIN_EMAIL%%
This will be replaced by whatever text you have entered in “Setup > Config > Basic > Admin Email” in your DAP Dashboard.
%%AFF_LINK%%
This will be replaced by the actual affiliate link of the member (Eg., http://yoursite.com/dap/a/?a=1234)
%%SITE_URL_DAP%%
Replaced by your actual web site url (Eg., http://yoursite.com)
%%UNSUB_LINK%%
This is replaced by a 1-click Unsubscribe link that you can add to the bottom of your outgoing broadcast and autoresponder emails.
You can send custom field values in the DAP emails by using merge tags like this – %%custom_tax_id%%
Add ‘custom_’ in front of the custom field’s database field name.
So if you have defined a custom field called tax_id in your database, to include this field in the autoresponder/broadcast email, just add this – %%custom_tax_id%% to the body of your email.
That’s it. When the user receives the email, dap will automatically replace the merge tag with the user’s tax id value.
So if your email message body contains the following text:
Your Tax Id: %%custom_tax_id%%
When the user receives the message, it will look like this (in this example, the user’s taxId = 9999):
Your Tax Id: 9999
Click here for full documentation about Custom Fields
Click here for merge tags you can use in WordPress posts/pages
This will be replaced by whatever text you have entered in “Setup > Config > Basic > Admin Email” in your DAP Dashboard.
Quick Summary: Here’s what we recommend, in the order listed below:
1) DAP + Amazon SES: Best option – this is what we use ourselves here at DigitalAccessPass.com and WickedCoolPlugins.com.
2) DAP + ActiveCampaign: If you must sign up for a third-party service for their advance analytics, we highly recommend ActiveCampaign, which is a very robust and popular email service, which we recommend over even, say, Aweber. This #2 option is great if you want advanced email analytics – like click-thru rates or open-rates – that DAP itself doesn’t offer yet. You will still be able to add the subscriber/buyer to both DAP and ActiveCampaign, for eg., and you will have the choice of sending out the emails from either system. This offers more flexibility, but comes at a cost of the services like ActiveCampaign or Aweber.
3) DAP + Your Web Host: Very usable and workable option as long as you are hosting with a decent web host.
Now, for some background information…
We often get asked why use Aweber (or other third-party list service) when DAP itself has a built-in Autoresponder system as well as an Email Broadcast system. So here’s a brief overview of when and why it makes sense to use DAP – or ActiveCampaign/Aweber/MailChimp/GetResponse, etc.
DAP integrates with Amazon SES (Simple Email Service), which allows you to send out tens of thousands of emails a day using DAP. Which means that it will only cost you pennies to send out a large volume of email via DAP (just $0.10 per 1,000 emails). So imagine the power of DAP and the deliverability of Amazon in one sweet, integrated system!
Until quite recently, it used to be that the biggest advantage of using a third-party service like Aweber was their email delivery rate. But with the onslaught of high-powered, high-deliverability but-still-inexpensive services like Amazon SES, the advantage now shifts more towards DAP.
Also, when you use a third-party service, like Aweber, and you send out an email and a number of people mark it as spam (incorrectly or not), your account could get shutdown without notice, and you would lose your entire list (unless of course, you have been maniacally exporting the data every few days and storing it on your computer in the form of a CSV file, the chances of which are highly unlikely).
But when you use DAP with say, Amazon SES, your “list” is still stored within the DAP database on your web site. So you always own the list, and the data is always going to be there on your web site, even if you stopped using DAP. And if the same spam issue happens with SES, then Amazon will probably shut down your SES account too – but in this case, that’s not a bank-breaker, because you can sign up with a different email provider, like AuthSMTP.com, or SMTP.com, or Mandrill, integrate DAP with this new email service, and resume your emails like nothing ever happened. Obviously, we’re not telling you this as a way to spam people. The point is that nowadays, people who don’t want your messages any more, instead of unsubscribing, will sometimes mark your email as spam. And when stuff hits the fan, that’s when it’s nice to have some options (like DAP + SES), instead of losing your entire list.
But first, some basics…
DAP is not an email service like Aweber or ActiveCampaign.
DAP is just a tool – like Outlook or Thunderbird – that simply sends out email using your web host’s email server, but in an automated fashion, of course.
If your inexpensive shared web host is hosting a large number of sites on one server, and one of them sends out spam (or mistakenly gets flagged for spam), that will put the email deliverability of every web site on that server, in jeopardy, because your site now shares the same IP address as that of an “alleged” spammer. So your emails could get sent to junk/spam folder by Gmail and Yahoo. Or worse, they just totally disappear into the ether. Some customers won’t get your emails. This won’t happen with Aweber (for the most part).
Aweber (and other premier email service providers) have staff on hand just for this purpose. Their core business is about email deliverability. They spend a lot of time, money and resources dealing with regular ISP’s (like AOL and SBC) to make sure their lists – and their reputation – remain clean. Which is also probably why they shut down large lists without much of a warning to you, and do other similar crazy stuff.
I guess it works for them – and the other Aweber users, because when you send out an email through your Aweber list, it almost always gets there in your recipient’s inbox. Which is very cool. And which is why they also charge so much for their service.
And that’s where DAP comes in.
You can use DAP’s built-in email autoresponder and broadcast system, and send out emails through your web host. But that normally means that the deliverability of those emails is only as good as your web host’s deliverability. And if you’re not on a Virtual Private Server (VPS) or a Dedicated server, then relying on your cheap, shared web host to safely deliver your email to your members is totally unrealistic and naive – just ain’t gonna happen.
And that’s where the 3rd-Party SMTP feature of DAP comes in real handy – this is one of the un-sung features of DAP that makes it so much more powerful than almost all other competing WordPress membership plugins, and just doesn’t get talked about enough.
You can use DAP as an “Email-Sending Tool” and hook it up to an external SMTP service provider – like Amazon Simple Email Service (Amazon SES), Fusemail.com or AuthSMTP.com – to send out bulk-mail through DAP – while completely bypassing your web host’s email system.
Which means you get high email delivery, thanks to a 3rd party SMTP provider like Amazon SES that practically guarantees you sky-high deliverability rates and rock-bottom rates, and you can host hundreds of thousands of emails in DAP for no charge other than standard hosting fees (it’s after all just disk-space in your database), and send emails through Amazon SES (costs just 10 cents for every 1,000 emails you send).
Don’t wish to pay even those few pennies? Then simply use DAP on a decent web host like Liquid Web.
DAP also has a built-in job queue to schedule outgoing emails, with the ability to throttle the number to make sure that you don’t exceed your web host’s hourly email sending limits (most web hosts limit you to 300 outgoing emails/hour).
You can even use multiple SMTP servers from your own other lesser-used web sites, all combined together in a round-robin fashion, be able to send thousands of emails an hour right from your web host for absolutely free!
So, to summarize, here’s what DAP can and can-not do when compared to more expensive, dedicated email services like Aweber and GetResponse.
So given a choice, here’s what we recommend, in the order listed below:
1) DAP + Amazon SES: Best option – this is what we use ourselves here at DigitalAccessPass.com and WickedCoolPlugins.com.
2) DAP + ActiveCampaign: If you must sign up for a third-party service for their advance analytics, we highly recommend ActiveCampaign, which is a very robust and popular email service, which we recommend over even, say, Aweber. This #2 option is great if you want advanced email analytics – like click-thru rates or open-rates – that DAP itself doesn’t offer yet. You will still be able to add the subscriber/buyer to both DAP and ActiveCampaign, for eg., and you will have the choice of sending out the emails from either system. This offers more flexibility, but comes at a cost of the services like ActiveCampaign or Aweber.
3) DAP + Your Web Host: Very usable and workable option as long as you are hosting with a decent web host.
Feel free to comment below if you have any questions.