Giter VIP home page Giter VIP logo

mailtonews's Introduction

TYPO3 extension "mailtonews"#

This extension makes it possible to import emails as news entry which is just awesome for editors who are not used to TYPO3.

Important: This extension is highly in dev mode, only tested with a hot 6.2 and not on many environments. Please be extra careful if using on production sites!!

Requirements

  • TYPO3 CMS 6.2
  • smtp support in PHP, especially in CLI environment.

Configuration

Add a configuration mode as below

gmail {
	username =
	password =
	host = {imap.gmail.com:993/imap/ssl}INBOX

	configuration {
		importClass = GeorgRinger\Mailtonews\Service\Import\BasicImport

		# see php.net/imap_search 2nd argument
		searchCriteria = UNSEEN

		defaultValues {
			pid = 3
			hidden = 0
		}

		deleteMailAfterImport =

		notifications {
			onFailure = 1
			onSuccess =
			recipient =
		}

		imagesAsContentElement = 1
		imagesAsContentElement {
		}

	}
}

Start import

Use CLI (backend user _cli_lowlevel is needed) by calling

./typo3/cli_dispatch.phpsh extbase mailtonews:import:run --mode=gmail

The mode is the same as the one in the configuration which makes it possible to handle multiple imports.

FAQ

Images/files are not added Make sure the cli/scheduler user has enough rights to access the news import folder in the file list. (see also ext:news settings in extension manager)

mailtonews's People

Contributors

frans-beech-it avatar fsaris avatar georgringer avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.