phpmailer with inline image and attachment in Thunderbird - email

I using phpmailer to send mail but I have a problem with Thunderbird with 'inline images' and 'attachment file' !
If I use only 'attachment file' I can see the attachment icon in Thunderbird, but with both, 'inline images' and 'attachment file' in the mail, the attachment icon is not showed in Thunderbird (works fine with all other webmail like gmail, hotmail, yahoo, etc...)
I already checked these posts
http://forums.mozillazine.org/viewtopic.php?f=39&t=2245979
https://bugzilla.mozilla.org/show_bug.cgi?id=682226
but I can not solve this problem

I had a similary problem.
Upgrade to the last version of PHP Mailer (v5.2.1).
In the AddAttachment(arg1,arg2) dont forget to precise the arg2.

Related

Powermail doesn't send mail

I have installed powermail extension 4.4 on typo3 v7.6 project, the test mail is sending good, but when I fill the form on frontend and click submit, no e-mail is delivered/arrives.
I configured the form in backend with name, e-mail, and subject for both receiver and sender.
I have used different e-mail addresses too.
I have also tried to disable the spamshield from typoscript : spamshield._enable = 0.
I have added a defaultEmailAdress in the installtool config : [MAIL][defaultMailFromAddress] .
Does anybody have another idea?
Whats in your LocalConfiguration.php ?
'MAIL' => [
'transport' => 'sendmail',
'transport_sendmail_command' => '/usr/sbin/sendmail -t -i ',
should mostly work fine. But maybe you need to change transport to smtp or something else?
What really works good for me is the setup with Mailhog, to try Emails in Development.
I have fixed that, the problem was that i have used an different email adress in the plugin different from the adress in the smtp setting of installtool, this is was wrong, i have to use the same adress.

How can we add attachment to default mail Application Using NSWorkSpace in cocoa Mac OSX application

I am using NSWorkspace to set TO, CC, BCC , SUBJECT and body text in default mail application through my application. How can i add attachments using NSWrokSpace?
Is there any way to attach files in the default mail app using NSWorkSpace?
I have tried using NSSharingService but problem with NSSharingService is that you cannot set CC and BCC email addresses in the default application Email Compose.
Is there any way to add CC, and BCC recipients using NSSharingSerivce ??
or is there any way to add attachments in mail using NSWorkSpace??
My code to open and set TO, CC and BCC is here
NSWorkspace.sharedWorkspace().openURL(NSURL.init(string:"mai‌​lto:(self.txtTo.‌​stringValue)"+"?subj‌​ect=YourSubject"+"&c‌​c="+self.txtCC.strin‌​gValue+"&bcc="+self.‌​txtBcc.stringValue)!‌​)
And Using NSSharingService i can set only recipients as TO
service!.recipients = [self.txtTo.stringValue]
service!.subject = "Subject"
thanks!.
It looks like NSSharingService has the method performWithItems, which takes an array of the things you want to share.
It appears you can create a sharing service of type NSSharingServiceNameComposeEmail and then attach a message body and a file to attach.
I've never used NSSharingService before, so the above is based on some Googling and reading the docs. (And I mostly work in iOS these days so my Mac OS is getting a little stale.)
Check out this link:
http://cutecoder.org/featured/programmatically-sending-rich-text-mail-attachment-mac/

ColdFusion CFMail wont send HTML

I have a weird problem and its got me stumped. If I send an email like this (below) it sends fine. The content of the email is html and sending using the first method shows the html content as text as expected.
<cfmail to="xxxx.xxxx#xxxx.com" from="xxxx.xxxx#xxxx.com" subject="To Oxint">
I change nothing in the email except change the cfmail line to this (below)
<cfmail to="xxxx.xxxx#oxint.com" from="xxxx.xxxx#xxxx.com" subject="To Oxint" type="html">
The email is not received. Not in my junk or spam folder. Just not received. CF mail logs show my email as successfully sent.
I've got our network team looking for issues as well, but its baffling. Any suggestions would be very much appreciated.
Some e-mail clients deny HTML mails without a plain part. Try this:
<cfmail from="someone#somewhere.com" to="someone#somewhereelse.com" subject="always deliver e-mails in plain as well">
<cfmailpart type="text/plain">Here is some text.</cfmailpart>
<cfmailpart type="text/html">Here is some <b>bold</b> text.</cfmailpart>
</cfmail>
Order matters here. First text/plain, then text/html.

How to send an email by Smalltalk application using Gmail / Yahoo / Outlook

Is it possible to send an email from Smalltalk using a Gmail account? I have configured my company mail server with Smalltalk to send email, but that's not going to cut it when I distribute the application. Answers with any of using Outlook, Yahoo or Gmail are acceptable.
You should state which Smalltalk you are using since there are different dialects and all have different ways of handling things like e-mail.
In Pharo, check out the class SMTPClient. There are class methods that have example methods showing how to send e-mails.
For VisualWorks, load the parcel NetClients and check out the classes MailMessage and SMTPClient.
Here's an example of code that sends an e-mail in VisualWorks:
(Net.SMTPClient host: Net.NetClient netSettings defaultOutgoingHost name)
user: Net.NetClient netSettings defaultOutgoingHost netUser;
send: (Net.MailMessage newTextPlain
subject: 'This is the subject';
from: 'my-email#gmail.com';
to: 'your-email#gmail.com';
text: 'This is the body';
yourself).
For secure mail sending, take a look at ZdcSecureSMTPClient in Zodiac-Extra on a Pharo 2.0 image.
Class side shows using gmail.

Why does iPhone eMail signature go out as an attachment?

I am building an iPhone application that generates an email with an attachment. The eMail message window pops up showing the body text and attachment followed by the default "Sent from my iPhone" signature text.
Everything seems perfectly ok, except when the message is received by the recipient the signature "Send from my iPhone" has been converted into a text attachment instead of remaining as the last line of the body. What gives?
Update: It seems that it's only Outlook that exhibits this behaviour. When I view the message in iPad Mail the signature does show as body text, not an attachment.
How does the email view in other applications, such as Apple Mail, Eudora, Lotus Notes, Thunderbird, etc ?
I'm suspecting that it's to do with Outlook's anal attempts to "protect the user experience", the same as it does if you email an EXE file (won't let the recipient open it).
It's an Outlook issue. Go to Options, Mail, Message Format, then UNCHECK "Reduce message size by removing format information...." Click here to see:
Outlook Options