SimpleNews fails to send newsletter, with vague and unhelpful error message

Hi there,

A client I recently created a Drupal site for just tried to send out a test newsletter with SimpleNews, but they never received the test.

I checked into it, and while in Administer > Newsletter it shows the newsletter as having been sent, the system log on the main Administer page shows an error, which when I click on it for details says: "Newsletter [WHEN Newsletter] WHEN Newsletter could not be sent to (my client's e-mail address)". That's it. No further details on WHY it could not be sent.

The default newsletter options are set to send one copy of a test newsletter to the test address (the one that was in the error message), in plain text. She did add a file attachment to it, though (a PDF of the newsletter, 160k in size). Interestingly, although it shows as having been sent, it does not show as having been published -- would that make a difference? Does it need to be published in order to be sent? I think what she was hoping to do was test the newsletter system without having the test newsletter she sent out be visible on the web site. You would think that ought to be possible...

The log shows the cron run as having been completed every hour, but the error did not occur during the cron run, it occurred during the initial send about a half-hour earlier, so I don't think this is the cron problem others have posted about.

Is there a way to assign a role under certain circumstances? such as submitting submitting content?

What I want to happen is if a user submits a certain type of content, I would like them to be prmoted to a new role automatically. The reason for this, is that I want to make menus that take out the node submission link as they are being promoted to the next role.

So for instance, user makes a content type called advertisement. They would have a menu with a link to "create advertisement". They created the ad and would then be promoted to a new role (or have an additional role) of "created advertisement". This new role would not have the create advertisement link.

Introducing Makefunds.com 2.0

Hello fellow Drupallers,

We are currently relaunching a site we have developed to help bring this very cool CMS and others to a much wider audience. As we all know, Drupal is a general framework for building sites. Often times, though, users have to spend a great deal of time in development and theming to arrive at a site that they feel comfortable with. Where Drupal and other CMS's out there rightly seek to generalize the functionality offered to appeal to a wider user base, we seek to specialize general frameworks into more workable packages for the end user or developer wishing to shorten development time.

Makefunds.com offers free downloads of web site platforms based upon popular CMS's. We currently have one such platform available, which is of course based on Drupal, which is the CMS we know, love, and use. Makefunds seeks to foster community development of these platforms. Makefunds.com users can freely download the software, modify it, and redistribute it on the site. We hope to build a vast array of platforms that people needing interactive ecommerce web sites can use as a starting point for their own ventures. We feel confident that these pre-packaged solutions can further the development of the underlying CMS's themselves by attracting more users that might not be interested otherwise.

Calling Javascript Experts

I’ve set up a drupal_add_js file to allow links to pop up with out tell target.

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks; 

Do you know how I can control the new window height and width WITH the above code?

Recovering folder/file permissions

Note: This only applies to Linux servers, but I guess it works with any version of Drupal.

Sometimes, after installing/upgrading a module - or the whole core - you find yourself stuck with a "Permission denied" message :S

Hence, you can not delete the folder/file - neither copy newer files inside it.

My solution? A simple script named "reset_folder.php" (or whatever), located in your Drupal root, and called via browser.

Submit button on enter key?

I'm not sure what I'm doing wrong with a form in a module I've created, but I can't get IE 6 to recognize the submit action when the enter key is pressed on the keyboard. It works for other forms on the page and for Firefox just fine, but for the form in IE it doesn't work?

Any ideas?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x