email

How does IMAP structure emails with attachments?

I'm using Zend_Mail_Storage_Imap to retrieve messages. When the code retrieves an email with an attachment it contains 3 parts. The first part's content is the body of the email. The second part's content is the body of the email with some extra whitespace after it. The third part is the base64 attachment. Why is it showing two part...

'Batch' mail on set number of errors (C#)

Hi all I'm making a system which is essentially a scheduled task system. I have included functionality to email the administrators whenever there's an error, but there needs to be some functionality to not overload the admins emailbox if there is a catastrophic global failure and every job fails. So far I've allowed the admin to enter 2...

Email list problem

My sql query to get all the e-mail addresses from my table is as follows: SELECT DISTINCT cEmail FROM tblUsers WHERE cEmail IS NOT NULL AND cEmail LIKE '%_@__%.__%' However, when I insert the list to gmail, it's still saying there are invalid e-mails. There are over 2000 e-mails and hard to go through each one to find out ...

Email Piping to osTicket (CURLE_COULDNT_CONNECT)

Hey, So I have my email on a site w/ cpanel and my support site currently running locally. I've set up a forwarder to automail.php which triggers correctly. Here is the code: #!/usr/bin/php -q <?php try { #pre-checks function_exists('file_get_contents') or die('upgrade php >=4.3'); set_time_limit(30); #Configuration: Enter the url ...

Exact String Alignment Retrieval in EMAIL Content

StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); String rowFormat = "%8s %8s %8s %8s%n"; pw.printf(rowFormat, "Col A", "Col B", "Col C", "Col XY"); pw.printf(rowFormat, "A", "19", "Car", "55"); pw.printf(rowFormat, "X", "21", "Train C", "-4"); pw.printf(rowFormat, "B", "-9", "Bike", "0"); String message = sw.t...

Email Applicaiton in Android ?

HI, I have a textView of text email id, when i click the email id, i want to open a email app which is located in the device, and in the "To" address bar should be filled with the clicked email id, Any example or similar code will be a great helpful to me. Please help ? ...

VBA outlook attachmets

In vba how do I attach the entire contents of a folder to outlook as an attchment? ...

SugarCRM: Create DRAFT Email via SOAP

Hello, Is it possible to create DRAFT emails via SOAP? I've got this custom button which generates an invoice number upon clicking (via AJAX) and updates the Lead screen with the number. Behind the scenes a PDF file bearing the same invoice number is generated and attached to the Lead as a NOTE (with the PDF as note attachment). Howeve...

Mail gem - how to clean up the body string

I'm trying to read an email using ruby mail gem. But mail.body.decoded returns me not just the body message. How can I clean up this body message and remove unwanted text like "--20cf30433c9a437cc304939017ef\nContent-Type: text/plain; charset=ISO-8859-1\nContent-" ? message = $stdin.read mail = Mail.read_from_string(message) puts mail....

How to send a meeting request by email from SharePoint 2010 to an iPhone

As part of a Windows Workflow hosted on SharePoint we want to send a meeting request to non-active directory users, some of whom will most likely use an iPhone. We are currently using WebDav to talk to Exchange which sends out the email containing the request. The mail is successfully received as a calendar item in Gmail, Hotmail, Window...

How to sync PC desktop mail client to an Exchange Activesync server?

I've got a situation where I want to connect to an email server whose only exposed service for mail/calendar is Activesync (it's an Exchange server). The only web interface exposed is "OWA light" which is horrific. I'd like to figure out a way to synchronize the mail from this Exchange so that it appears in a desktop mail client (or a w...

Tool to send email from a DB

We are developing a webapp that needs to send out emails written in Java/Groovy. Currently, we are persisting each email to a database before we call the Java Mail APIs to send the mail to our SMTP server. I want to send out email asynchronously. I want to persist the email and then have another process pick up the email and send it (...

python email encoding problem

I am extracting emails from Gmail using the following: def getMsgs(): try: conn = imaplib.IMAP4_SSL("imap.gmail.com", 993) except: print 'Failed to connect' print 'Is your internet connection working?' sys.exit() try: conn.login(username, password) except: print 'Failed to login' print 'Is the username...

Email cache database design

Hello! Can you advice how to store email MessagePart hierarchy into database (SQLite)? Parts can be of different MIME type (text, image, etc). Also they can be multipart. The only way I see is to store all parts in single MessageParts table with content_bytes field and mime_type field + parent_id for multipart Is it ok? Is there some...

Can you set Exact Target to push to your server when a change happens on their end?

I am curious if any that has dealt with Exact Target has dealt with having them push changes of your subscribers to your server. Much like the Mailchimp Webhooks. I am just looking for the documentation of such feature or where it is located in the system. Thank you. ...

Raw emails needed for testing

I'm playing around with a new C# email library and would like to test it as much as possible. I've used several POP3 email servers (e.g. Exchange, Hotmail, Gmail, etc.) to test support for the most popular email MIME formats e.g. text/plain, multipart/alternative, etc. Does anyone know if there is a repository of sample emails that I ca...

HTML Formatting in the Automated Mail Content

StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); String rowFormat = "%8s %8s %8s %8s%n"; pw.printf(rowFormat, "Col A", "Col B", "Col C", "Col XY"); pw.printf(rowFormat, "A", "19", "Car", "55"); pw.printf(rowFormat, "X", "21", "Train C", "-4"); pw.printf(rowFormat, "B", "-9", "Bike", "0"); String message = sw.t...

PHP: PEAR mail help

I'm trying out the mail pear package. It successfully sends an email but give me the following error: Strict Standards: Non-static method Mail::factory() should not be called statically, assuming $this from incompatible context in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\ClientPortal\classes\SupportTickets.php ...

How to send test email specifying SMTP server

I'd like to test to see if I can send email unauthenticated from an smtp server from my red hat box. If I want to send a test email from command-line, I would do something like this: mail -s Test [email protected] < /dev/null How do I specify an SMTP server to send the mail through? ...

Seeking (PHP) code to fetch e-mail, parse it and act upon it

Before I probably reinvent the wheel, can anyone tell me if there exists a FOSS code library to check email on a regular basis (or driven by a cron job), to parse the title and body and to perform certain functions (mainly sending other emails). I was thinking PHP as it is server side and good at string handling, but I would be happy en...