email

How to format outgoing email - Create in code or use templates with replaceable values?

What is the best practice to create templates for outgoing email? Should I have each class create the html for the specific email? Should I have a text template with placeholders that are replaced by a common method? In the first option, I'd have a sendEmail method that takes the formatted html string and send the email. Multiple cla...

Call a php script whenever an e-mail is received?

What I would like is a service (preferably something not installed on a server like just letting a third-party handle e-mails but if a dedicated server is necessary I'll give it a shot) that allows any e-mails to my site to be redirected as a HTTP request to a php script I specify For example a e-mail like this To: [email protected] F...

2nd Line is not getting displayed in the ListField (text wrapping is not happening) ... please advice

Here is the sample code: class MailBoxSampleListField extends MainScreen implements FolderListener, StoreListener { private static final int COLUMN_WIDTH_STATUS = 10; private static final int COLUMN_WIDTH_DATE = 150; private static final int COLUMN_WIDTH_NAME = 150; public ListField myList; private ListCallback myCallback; public Vect...

postfix re-processing of spool - ubuntu

This is not technically a programming question but perhaps someone can help me. Yes, it's totally off topic, but i'm desperate for help as I'm no expert at this type of thing. We had a problem on our mail server over the weekend and upon updating postfix, i noticed that mail was no longer being delivered to the /home/$user/Maildir/ as d...

php mail stopped working for some addresses on debian

My Debian Lenny server was happily sending mails from the php mail() function up until a few days ago. Now, it will return false for certain email addresses I have been using. I pointed php to sendmail in php.ini but that didn't change much. I noticed when I run: sudo /usr/sbin/sendmail -bv [email protected] I get the message: my...

php email sending application form

How do I make an application form in PHP that sends an e-mail using the mail() function? ...

get content from a SimpleEmail object (apache commons email)

Is there a simple way to get the Content of an apache commons-email SimpleEmail object? Something like this: SimpleEmail simpleEmail = new SimpleEmail(); simpleEmail.setMsg(someMsg); String anotherMsg = simpleEmail.getMsg(); //this dont work obviously. I don't want to use any reflection black-magic :) Thank you! ...

How does incredimail import email accounts automatically?

I installed incredimail yesterday to experiment with something. To my surprise I found out that it was able to pull email accounts from windows live mail including my username and password!! How is it possible for incredimail to do it? More serious concern is what stops spyware/virus programs to do the same? Is this a big security conc...

iPhone MessageUI email attachments not being sent to receiver

I am trying to attach an image and a pdf to an email using the MessageUI framework. I followed the MailComposer example in the Apple documentation. On the iPhone it seems to work perfectly, the image and the pdf both show up in the body of the send mail window as expected. However, when I receive the email on my MacBook there are two ...

Sending email using Zend Framework and PHP

I working on a form whereby when the user enter in their email account and click on send, an email will be sent to their email account. I have everything worked out. Just that it doesnt send the email to my account. Anyone have any ideas? Is there a configuration that I left out or something? This is the sample from my controller: pu...

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 41007872 bytes)

I'm getting this error when I try to call the mail() function. I tried adding ini_set('memory_limit', '64m') to my index.php file - Which include()'s all other files into that - But it didn't fix it. I then tried adding a php.ini file into the root directory (where index.php resides) with the contents memory_limit = 64M which then gave...

How does the email header field 'thread-index' work?

I was wondering if anyone knew how the thread-index field in email headers work? Here's a simple chain of emails thread indexes that I messaged myself with. Email 1 Thread-Index: AcqvbpKt7QRrdlwaRBKmERImIT9IDg== Email 2 Thread-Index: AcqvbpjOf+21hsPgR4qZeVu9O988Eg== Email 3 Thread-Index: Acqvbp3C811djHLbQ9eTGDmyBL925w== Email 4 Thread...

Php mail reader

Hi guys, anybody know any PHP library to read various mail services? Like Hotmail, Gmail, yahoo? It would be great if the library could parse the email and mark as read... Thanks ...

Test System.Net.Mail.SmtpClient settings without sending an email

Hi! At first glance my question is very similar to this one, but it is different. In my ASP.NET application user can save all settings necessary for sending an email (host, port, user name, password), and then send messages to other users using this settings whenever he wants. Please note that email isn't actually sent when user saves t...

In php , i have send a mail using mail() , it must not saved in my sent items folder

Hi Send email using mail function working fine. but my question is how to auto save the mail in sent items folder when mail sent i m using own smtp server and port no is 25 is any config needed on php ini file or i may use imap my code is as follows <?php function send_email($from, $to, $subject, $message){ $headers = "From: ".$fro...

How can i send an email through UNIX mailx command

How can i send an email through UNIX mailx command ...

Receive mail in Ruby/Rails

How would i go about to receive mails in a Ruby on Rails application without going through a mail server like PostFix or to fetch them by pop3 etc. What i was to do is to catch all mails sent to @mydomain.com and just do something with them in my application. I don't need to store the mails or anything like that. Is this posible? ...

Best practices for sending automated daily emails from web service

I am running a web service that currently sends confirmation emails out to new users via the gmail smtp servers. As I'm only getting a few new users each day, this hasn't been a problem. I've recently added new features to the webapp that will require a customized message to be sent out to each user every day. Think of this as similar ...

Is it possible to embed images in e-mail message in Sharepoint?

Currently I'm sending E-Mail messages by SPUtility.SendMail. I'd like to embed images into my message so i can give it a little bit style (div backgrounds, logo images etc.). Is this possible? P.S. I can't give direct URL addresses to image SRCs because the resources are located in a site which belongs to a private network which requir...

Question on Email transiting rules

I haven't poured over the RFCs on this one and was hoping that someone would know off-hand. Pretend I have a basic mail server example.com I telnet into example.com at port 25 and do something like this: EHLO hi MAIL from: [email protected] RCPT to: [email protected] DATA Hello world . I think that is valid syntax (if not, let'...