[SOLVED] msmtp: Gmail sends empty mails, Yahoo ignores "from"

I have recently embarked on the atrocious adventure of migrating from Thunderbird to mutt.
So far however, msmtp has consistently refused to properly send mail. Using
echo "Yet another test" | msmtp -a <account> <test>@gmail.com
with this config
defaults
auth on
tls on
tls_starttls on
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
# first gmail address
account gmail
host smtp.gmail.com
port 587
from <mail1>@gmail.com
user <mail1>@gmail.com
password <pass1>
# second gmail address
account gmail2 : gmail
from <mail2>@gmail.com
user <mail2>@gmail.com
password <pass2>
# yahoo
account yahoo
tls_starttls off
host smtp.mail.yahoo.de
from <mail3>@yahoo.de
user <mail3>
password <pass3>
# default
account default : gmail
yields:
1. An empty mail if one of the Gmail accounts is used, including the proper "from" address.
2. A mail with the test sentence if Yahoo is used, but having "youknow@smtp<three digits>.mail.ukl.yahoo.com" as "from".
Any help, please? This is getting really tiresome.
edit: Solution below
Last edited by misc (2010-07-05 16:01:38)

If brisbin33's page comes back up, I highly recommend it. It has a ton of great information, and I configured mine based on that. My msmtprc file contains:
# gmail
account gmail
host smtp.gmail.com
port 587
protocol smtp
auth on
from [email protected]
user [email protected]
password EMAILPASS
tls on
tls_nocertcheck
account default : gmail
So my suggestion is to try these tls* lines, and add the protocol lines. Other than that, I don't know much about it. brisbin33 uses these forums, so he may be able to help you directly
Last edited by jac (2010-07-06 13:32:26)

Similar Messages

  • Send E-mail To Recipients From Recordset Attachment problem

    Hello !
    I got a recordset which stored a list of recipients emails.
    CREATE TABLE IF NOT EXISTS `tasks` (
    `id_task` mediumint(9) NOT NULL auto_increment,
    `id_procedure` mediumint(9) NOT NULL,
    `id_step` mediumint(9) NOT NULL,
    `lib_task` varchar(40) NOT NULL,
    `recipient_email` varchar(80) default NULL, <---------------- email to use
    `email_text` mediumtext,
    `url_document` varchar(100) default NULL, <------------------ name of document to send for THIS recipient as attachement
    PRIMARY KEY (`id_task`),
    KEY `id_procedure` (`id_procedure`),
    KEY `id_step` (`id_step`)
    There's less than 10 records to process.
    Table content :
    RECIPIENT 1 DOCUMENT 1
    RECIPIENT 2 DOCUMENT 2
    RECIPIENT 3 DOCUMENT 3
    RECIPIENT 4 DOCUMENT 4
    RECIPIENT 5 DOCUMENT 5
    RECIPIENT 6 DOCUMENT 6
    I want to use the "Send E-mail to Recipients From Recordset" behaviour and Dynamic Datas.
    The problem is that each recipients are well processed but all of them receive the attach document of the FIRST one !
    Email results :
    RECIPIENT 1 DOCUMENT 1
    RECIPIENT 2 DOCUMENT 1
    RECIPIENT 3 DOCUMENT 1
    RECIPIENT 4 DOCUMENT 1
    RECIPIENT 5 DOCUMENT 1
    RECIPIENT 6 DOCUMENT 1
    How can I fix it ?
    Thanks for your help. Jérôme.

    I try another way to do it, using a html link
    > function Trigger_EmailRecordset_E6(&$tNG) {
    $rsemailObj = new tNG_EmailRecordset($tNG);
    $rsemailObj->setRecordset("rsTasks");
    $rsemailObj->setFrom("{KT_defaultSender}");
    $rsemailObj->setTo("email_to");
    $rsemailObj->setSubject("{rsTasks.lib_task}");
    //WriteContent method
    $rsemailObj->setContent("{rsTasks.email_text}\n</br>\n</br>\n{rsTasks.url_document}</br>< /br>
    <a href=\"http://xxx.xxx.xxx.xxx/yyyyyyyy/{rsTasks.url_document}\">Clic here</a>");
    $rsemailObj->setEncoding("UTF-8");
    $rsemailObj->setFormat("HTML/Text");
    $rsemailObj->setImportance("High");
    return $rsemailObj->Execute();
    I wonder if I could use Dynamic Data _INSIDE_ {rsTasks.email_text} field ?
    Thanks. JM.

  • [SOLVED] XFCE + Thunar: "Send to" mail recipient doesn't work

    Hi all,
    I'm not able to use the "Send to" -> "Mail recipient" Thunar's feature. Right-clicking on a file (or a group of files) and selecting the option, the following error is returned:
    Failed to execute default Mail Reader. Input/output error.
    I use Thunderbird as e-mail client (correctly configured into the "Preferred applications"), but the same happens with Sylpheed too, so I think this isn't an application-related issue.
    Any hints?
    Last edited by s@ndro (2010-11-01 07:41:40)

    I found the following:
    https://bugs.archlinux.org/task/7021?opened=834&status[0]=
    It's not very clear to me if this is an Arch or Thunar or Exo bug, anyway installing 'perl-uri' works for me.
    Marking as SOLVED

  • How to send a  mail to outlook   from iphone flex 4.5.1 app automatically..?

    HI folks,
                     i have to send a mail to outlook for correpanding mailler id  with out  opeing  outlook  from my app(iphonoe flex 4.5.1 app.) with taking the input values what ever  we have given as input those values has to be send to outlook  while pressing submit button  on that  view....(i dont want  to open outlook  and user action on that).
    Please help out on thsi issue..
    Regards,
    Madhu.

    Hello Madhu,
    The only way to send an email without opening a client is: using server-side mail objects invoked by your app.
    This would be the workflow:
    - your user fills in form data (subject, body, mail_to)
    - your application sends form data to a server (via httpservice or webservice or AMF)
    - the server takes care of sending the mail in a way that is transparent to your user
    So: it is not possible to send emails without opening the iPhone client (I think by "outlook" you mean the "mail client" with an Exchange account) for security reasons. You wouldn't want any app to send mails without you pressing "Send" in a known interface.

  • Send External mail with Attchment from SAP

    Hi All,
    OUR REQUIREMENT: We need to send EXTERNAL MAIL with ATTACHMENT(Excel) form SAP .
    We have developed a function module which converts the internal table data into Excel Format and sends it as an attachment to External Mail.
    ISSUE : But our issue is we are unable to open that document using GOOGLE DOCS Could any one help me how to do this.
    it was thriughing error like
    Error log is .
    ''Sorry, we are unable to generate a view of the document at this time. Please try again later.
    You can also try to download the original document by clicking here. Alternatively, you can view the plain HTML (automatically redirecting).
    Regards
    Venkat .
    Edited by: venkata pradeep on Mar 5, 2012 10:26 AM
    Edited by: venkata pradeep on Mar 5, 2012 10:28 AM

    Is the excel file recognized by MS Excel? If not, then issue is you have wrongly converted your attachment and/or your FM to create an excel file was wrongly coded or you have passed it wrongly to your mail code.
    If you consider an OOP approach in sending external mail, refer to this link:
    http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach

  • I Phone 4: I can't send the mail, just receive from libero account (wind connection)

    help! On my Iphone 4 I just setted the libero account by wind. Now I can receive but it's impossible to send.
    thanks

    Setting up a gmail account does not require specific SMTP settings. If you are going to 'mail contact and calendars' go to where it reads 'add account' you should then be able to add a gmail account seamlessly. IF however you are using a gmail app as the vehicle to being used when accessing your gmail email account this may be the issue.
    Before adding an secondary email account please ensure you don't have the same account (gmail account) already on your device prior to adding the secondary account.
    Please do this: verify you don't have alternate gmail accounts on your device. ( settings to mail, contacts, calendars) check to see that you don't have a gmail account already listed. IF you have a gmail account already you will then delete this account PRIOR to attempting to add another gmail account.
    Once you have deleted the first gmail account this opens the door for you to then add a new gmail account.
    Once the account is added as the ONLY gmail account attempt to then send yourself an email to this email address.
    To do this you will want to go to the inbox of the account go to compose put into the address area YOUR email address go to the subject area and type in the words TEST and in the area where you type the information of the email type in the words TEST.
    from there click on send to see if the account is working
    good luck .

  • How to send Notification mail (with attachement) from On-Demand job

    Hi Experts,
    I am using SAP IDM 7.2 SP8.
    Requirement is to send a notification mail to a specific mail address [email protected] whenever we run a on-demand job.
    On-Demand job should also attach a csv file (atttachement.csv, which is in a specific folder D:\folder) while sending the notification mail.
    Please help.
    Thanks & Regards,
    Chandan Kumar

    Hi there,
    It sounds like you have the basics all together. I would check how you are setting the following parameters of uSendSMTPMessage:
    Attachment
    Optional. Fully qualified file name of a file to be included as an attachment.
    Multiple attachments can be added by separating the file names by a pipe character (|).
    AttachmentType
    Optional. Valid MIME attachment type.
    Charset
    Optional. Valid ISO character set identifier, for instance ISO-2022-JP. The default value is ISO-8859-1.
    HeaderEncoding
    Optional. 0: Plain text, 1: Base64. Default: 0
    TransferEncoding
    Optional. 1: 7bit, 2: 8bit, 3: Quoted ASCII, 4: Base64. Default: 4.
    Sorry the first row got mangled a bit. 
    Matt

  • Sending e-mail with attachment from Oracle APEX

    Hi,
    Do we have an option to attach a report to the e-mail and send from Oracle APEX page?
    In my case, I want to convert the report page into PDF format and attach to the mail. Is it feasible in APEX?
    I understand that APEX_MAIL.ADD_ATTACHMENT can attach files stored in the database. But here we need to convert the page and send it
    Thanks
    Kind Regards,
    Prasanth

    HI,
    Thank you for your input. Currently I'm using APEX 3.2.
    Here my requirement is to send the content of the report to the user via e-Mail. If i'm not converting the page into PDF and planning to send as a HTML page or any other format.. The Objective is to send the info with the same format as it is in the report page. Its too big to send as mesage body.
    Any idea how to proceed?
    Regards,
    Prasanth

  • How can I send e-mail with attachment from oracle 10g?

    How can I send email with attachment from oracle 10g?

    hi you can achieve the same thing from database tier of unix.

  • Using Dynamic Data in "Send E-Mail To Recipients From Recordset"

    Hi,
    How can I use Dynamic Data embedded in recordset field ?

    I try another way to do it, using a html link
    > function Trigger_EmailRecordset_E6(&$tNG) {
    $rsemailObj = new tNG_EmailRecordset($tNG);
    $rsemailObj->setRecordset("rsTasks");
    $rsemailObj->setFrom("{KT_defaultSender}");
    $rsemailObj->setTo("email_to");
    $rsemailObj->setSubject("{rsTasks.lib_task}");
    //WriteContent method
    $rsemailObj->setContent("{rsTasks.email_text}\n</br>\n</br>\n{rsTasks.url_document}</br>< /br>
    <a href=\"http://xxx.xxx.xxx.xxx/yyyyyyyy/{rsTasks.url_document}\">Clic here</a>");
    $rsemailObj->setEncoding("UTF-8");
    $rsemailObj->setFormat("HTML/Text");
    $rsemailObj->setImportance("High");
    return $rsemailObj->Execute();
    I wonder if I could use Dynamic Data _INSIDE_ {rsTasks.email_text} field ?
    Thanks. JM.

  • Empty Mails in SOST

    Hi,
    I have a workflow that sends empty mails (look at the workitem in SOST the mail is empty), but when I look at the workitem via transaction SWI1 the contents is there. Anybody who has had a similar experience? If yes, have can I solve the problem?
    Thank you in advance.
    /Elvez

    Hi Elvez,
    => Verify the <i><b>SCOT</b></i> settings for mail.
    => Try executing following transaction, which will synchronize the runtime buffer of workflows.
    <i><b>SWU_OBUF - Synchronize Runtime Buffer</b></i>
    Still if the problem persists, following could be the checklist to verify-
    1. Create the SendMail task again in workflow.
    2. First write the text message of the Send Mail
    3. Then add the container variables whereever you want in the text message. Don't move any of the text after this.
    4. Save the workflow. Activate & test.
    This should result in the required solution.
    Hope this helps.
    PS If the answer solves your query, plz close the thread by rewarding each reply.
    Regards

  • Sending mail to outlook from workflow

    Hi All,
    I tried to send a mail to outlook from workflow by giving the email address in the step mail, but it was not working.
    i am getting the workitem in the sap inbox so tried setting the automating forward which we can forward from the sap inbox to outlook.
    Searched in SDN , but my issue was not solved..
    Could you please help me out with this issue to get the mail from workflow to outlook inbox.
    Thanks,
    Praveena

    Hi Praveena
    see the threads,similar to you
    Sending mails from SAP inbox to Outlook
    Workflow - Sending mail to Outlook
    For more inforamtion you can search a lot about sending mails to outlook in SCN
    regards
    Sachin
    Edited by: sachin sharma on Feb 27, 2009 11:44 AM

  • F.18 Balance Confirmation: Print, Send E--Mail and Send FAX in same time ??

    Hi Experts,
    In T-Code F.18 we can Print or Send Email or Send FAX to vendor.
    To do this, we specified a custom Function Module in FIBF. This function module decides which way the document will be sent. And i set decision mechanism  with Vendor Default Communication Type (ADRC-DEFLT_COMM).
    But in this way, we can just Print or just send Email or just FAX or etc.
    Is it possible to run F.18 with multiple communication methods ?

    Hi,
    Cay you Just Explain me that how you can send the mail to Vendor from F.18
    (Balance Confirmation) transaction Code ...
    i am very much thank full to you if you give me the solution.
    thanks
    Devang

  • When I am on my home wifi I can send e-mail.  When I am not on my home e-mail but on a wifi network or using the 3g network I cannot send e-mail.  HELP HOW TO FIX.

    When I am on my home wifi I can send e-mail.  When I am not on my home e-mail but on a wifi network or using the 3g network I cannot send e-mail.  HELP HOW TO FIX.

    I know this question is a few years old now, but I recently found myself having the exact same issues;
    Using my iphone or ipad at home created no problems at all, but I couldn't send e mails when away from my home network.
    I recently switched broadband supplier at home and set up a new e mail address, then my problems began!
    I openly admit I'm not great with technology and, to be honest, some of the answers provided on these forums confuse me more than the questions!
    But this worked for me:
    I went along the lines that the fault wasn't with my idevice but possibly with the broadband provider (in my case Plusnet) so I contacted their customer support.
    They referred me to the set up process shown below;
    From your home screen press Settings.
    From the setting menu, choose Mail, Contacts, Calendars followed by Add Account…
    From the Add Account… menu choose Other.
    Fill in your Full Name, Email Address, Password and Description and press Next.If you need help with these, there's more detail underneath the screenshot.
    Full name: Enter your name (or the name you'd like people to see when you send them email)
    Email Address: Enter the address you're setting up, this could be a Plusnet address ([email protected]) or a hosted domain address ([email protected])
    Password: Enter the password for your email address (I don't know what this is)
    Description: Enter a useful description of the email address you're setting up (e.g. Mum's email). You can put whatever you want here
    Press Next to continue.
    More settings will appear. Some will already be filled in.Enter the Incoming and Outgoing Mail Server details and press Next. If you need help with these, there's more detail underneath the screenshot.
    IMAP/POP This will default to IMAP - it's up to you which one you want to use (I don't know what to choose)
    Incoming Mail Server settings
    Host Name: For IMAP this is imap.plus.net - for POP, this is mail.plus.net
    User Name & Password: Enter the username and password for the email address you're setting up (I don't know what these are)
    Outgoing Mail Server settings
    Host Name: relay.plus.net
    User Name & Password: These are optional, but if you want to send mail while on the move (e.g. while connected to mobile or wireless networks), we recommend filling these in.Enter the username and password for the email address you're setting up (I don't know what these are)
    When you're finished, press Next.
    If the box shown below appears, press Yes (you may need to do this twice).
    After a minute or two, your email address will be set up and ready to use.If you chose IMAP when setting up you’ll be able to choose whether you want to use Notes (if you chose POP you’ll be taken back to the settings screen from step 2). Press Save when you’re done.
    That's all you need to do. To start checking your email, go back to your home screen and press Mail.
    Now I fully understand that it may be different for each broadband provider but the processes must be similar.
    The key appears to be in setting up the outgoing message server settings in step 5. Where it says "optional, but if you want to send mail while on the move (e.g. while connected to mobile or wireless networks), we recommend filling these in.
    http://www.plus.net/support/email/setup/ios-setup.shtml#pagetop
    Where it says "we recommend" I think it should read "you must fill these in"
    I went back to Settings - Mail,Contacts, Calenders - click on the offending account and click on the account shown.
    Under OUTGOING MAIL SERVER click on the server, in my case relay.plus.net, and click again to show the details. make sure you enter your user name and password and after a few seconds the account will verify and show a load of ticks.
    I tried this on my phone this morning while on 3G only. I sent an email to another of my addresses and immediately got the response that the message couldn't be sent as the recipient was rejected and the message had been placed in my Outbox. I followed the above steps and immediately heard the satisfying "whoosh" as my mail was sent. 10 seconds later another satisying beep as my e mail arrived at my alternate account.
    Hope this helps anyone else with a similar problem.

  • Send e-mail to responsible

    Hi everybody,
    I need configure the send e-mail to responsable.
    I have the action with the smartform configured, but now I need send the e-mail only responsible for message.
    I tried configure in transaction SPPFCADM, but I haven't found the way for this.
    Anybody can help me please?
    Thanks.
    Att.
    Edited by: Rogério Mayer de Lima on Dec 28, 2011 10:52 AM

    Sonny,
    I want to send e-mail to responsible from message.
    The condition for this case is:
      &Operação serviço CRM.Status do usuário&  = E0002SLFN0001
    Other configuration is:
    Definição de parceiro: SLFN0002
    Details of Selected Processing:
    Recipient type: Internet Address
    Address: "is blank"
    I'd like know if it's possible with configuration in transaction SPPFCADM for Condictions for actions.
    Thanks.

Maybe you are looking for

  • Search Query Help – more than one word

    I have been struggling with this for weeks.  I used Dreamweaver to set up a lot of this and I think it is hindering me as I make changes to the code. I have a search interface that takes the input from a user (in the form of text) – searches though t

  • Trending Tags web-part in sharepoint 2013

    Hi, I've added Trending Tags web-part on my application page. Whenever I post a #Tag from wall , it takes around 1 day to reflect in trending-tags web-part. Also , it shows "2 uses in the past week". I have configured the search properly , with incre

  • Mighty Mouse shortcuts changed

    I'm using a wireless Mighty Mouse on OS 10.5.8. The track ball is set to Button 3 and when in a web browser, would open a new tab when clicked once. For some reason, its now acting like the Secondary Button (opens the sub menu). There used to be a mo

  • Automator Watermark PDF Issues

    I just updated to Yosemite (OS X 10.10) and the Watermark PDF function in Automator has stopped working. Each time it gets to this function, it returns an error message. I have tried replacing the function and even rewriting the Automator sequence bu

  • System freeze / GPU Debug Info Start

    *What happens:* Aperture keeps freezing my mac, I can move my mouse, but can't click anything. Keyboard doesn't seem to work at all. From time to time I get a beach ball instead of regular cursor. Nothing help, need to reset with a power button. *Whe