Email not sending with a literal string in FROM line

I am trying to send an automated email in my application. I hardcoded a literal string in the FROM line and it doesn't send. If I put any kind of an email address in the FROM line, it will send the email. Why is this and is there anyway I can get it to send the email with a string (not email address) in the from line?
Thanks!
BoilerUP

BoilerUP,
Try using parenthesis in your email address.
sometext(your_literal)@yoursite.com
Where "your_literal" is what you want to be seen in the FROM on the emails. The mail package expects to have a formated email address passed in.
Todd

Similar Messages

  • POP3 email not sending on iPad2 with exact same server info as what I've got on the iPhone!

    I have a pop3 account and my own mail servers that I can't send and receive emails with no hassles what so ever. Problem is now the bloody iPad with exactly the same information will not send any emails but will receive them. Please note that I have checked sync manually on both iPad and iPhone but the problem still exists.

    I can't help directly with your problem but you might check here http://tim.id.au/laptops/apple/macpro/ for a service manual which could answer your question.

  • Outlook email not sending?? whats up with this?

    Iphone 5S not sending outgoing messages? can anyone help?

    Is this a work account.
    Did you double check your email settings?
    Have you deleted and re add the account?

  • Emails not sending, "stuck" in the outbox and no error message

    I have been trying to send emails for a few days now and they will not send. They go to the outbox file and then the don't leave. There is no error message and my POP account, .mac account, and the smtp.mac.com are all working correctly. I can still receive mail. The emails don't get sent to the draft file.

    What does “my POP account, .mac account, and the smtp.mac.com are all working correctly” mean? Which account has the problem? Those accounts are clearly not working correctly if you have this problem...
    What does “The emails don't get sent to the draft file” mean? Which messages would you expect to be moved to Drafts and as a result of doing what?
    I assume that the account is "online", i.e. Mailbox > Go Online appears disabled (grayed out), right? If that's the case, try this:
    1. In Mail, move any messages waiting in Outbox to another mailbox (e.g. Drafts), to avoid losing them.
    2. Quit Mail.
    3. In the Finder, go to ~/Library/Mail/Mailboxes/.
    4. Locate Outbox.mbox and move it to the Trash.
    5. Open Mail. A new (empty) Outbox.mbox will be created automatically. Check whether the problem is fixed.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • Mail in OS Mavericks HELP!!! Why do some of my emails not send despite the sent sound playing?

    Dear Mac Community
    I have a MacBook Pro running OS 10.9.1 and everything is fully updated.
    I use the Mac Mail programme to send and receive Gmail emails as I have done for many years.
    Recently, I started to notice a worrying problem. Every 10 or 20 emails or so, (I haven't noticed a specific regularity), I write an email and press send. The mail seems to send fine and I get the sound notifying me it has left the outbox. However, when searching for a reply, I find that in fact it is not in sent items, and it has only been located in Archive - Gmail (all mail) or Trash - Gmail, and not in any sent folder. Indeed, when I ask the recipient if it has been received they say no.
    Since the mail programme is telling me at the time of sending there isn't a problem, how can I ensure that all emails are sending correctly without checking 'sent items' every time I send one, which would be deeply frustrating. I've only noticed this a few times because key emails haven't been replied to - but it's possible that there have been several other incidences I haven't been aware of.
    I don't know if this is related, but another similar problem occasionally arises, whereby an email pops in on my phone (iPhone 5s also using mac mail programme for gmail) but not on the computer. In fact I can't see it unless I click on the 'Gmail Archive' folder where it appears, and copy it manually into my inbox. The regularity of this seems to be equal to that of the former problem, which is why I wondered if it could be related.
    All help gratefully appreciated
    Thanks
    MacBook Pro (13-inch Mid 2012), OS X Mavericks (10.9.1)

    In that case your email provider's server is having difficulties to deliver the message to the recipients email provider server.
    This has got nothing to do with Thunderbird.
    There is little you can do though. You may have the recipient to check with his email provider if they have any issues.

  • I have lost my ability to sort my Yahoo email by sender with FFox

    Using Firefox, I can't see a drop down that allows me to sort my Yahoo emails by sender. This happened when I downloaded the most current FFox release.

    See Yahoo support for help with that problem, it's not a Firefox issue.

  • Hotmail does not "send" with iPad 1 mail

    I am using the Mail function of iPad 1 with my hotmail account. All of a sudden, outgoing email does not send. Still pulls down incoming messages from hotmail. But outgoing just stays in the Outgoing Mail queue. 

    I have the same problem, but it only started after May 20th. Synching from Hotmail to Apple mail on my Mac workied fine up to that date then apparently just stopped working. Anyone have a clue?

  • EPrint to email not working with D110a

    I setup the online account and was provided with email to use with the printer. Then, I added 6 email addresses that were valid senders. When emaila are sent, no verification email is sent back and nothing prints or shows up in the actiitylg for that printer.  I attempted to send in various ways from multiple systems including Outlook 2010 and iPhone...and it still did not work.  Email address provided was[text removed for privacy]   How can I get HP support to help me find out why this is not working?  Thanks!
    This question was solved.
    View Solution.

    Okay, so some are working, that is good
    The one I sent from from Outlook, so it is not a general Outlook issue. But, could be related to your Outlook settings or the account Outlook is using to send the email. The problem I have is understanding how when you send, you are not getting the verification that you sent. Be SURE the email address you are using in Out look is right. Best way to do that is copy and paste it from a source you know is working. Something as simple as an extra space can mess up an email address.....
    Other than that, it would be nice if someone from HP would chime in.... I got a question from yesterday and they have not responded yet ether......I have had the printer since Sunday, so my knowledge is pretty limited
    My HP Printer - Photosmart D110a
    My Music - http://www.bremencole.com
    My Bicycle Journal = www.bikejournal.com/journal_public.asp?rname=BremenCole

  • IPad email not sending

    Hello all,
    I just composed an email on my iPad, tapped [Send], and it disappeared. Permanently, by the looks of things. The Drafts, Outbox, Sent Messages and Sent folders are all empty. There is no record of my composed outgoing message.
    Here's my only clue: When I check all the places said email should be residing, all the folders are hung up in "Connecting" status.
    Outgoing mail server settings: fine.
    Internet connection: fine.
    I can receive mail.
    I asked the guy next to me to check his work mail (coxmail) from his Mac Book Air...fine.
    Do I need help? or just a beer? what am I missing?

    Were you sending via a MobileMe SMTP Server?  You may find the following chat session with MobileMe amusing and it may explain the problem either from the IPAD Mail program or MobileMe or other "online servers" such as Google, Hotmail etc.
    I didn't have much room to write and couldn't review what I was writing.
    Customer [7:14 p.m.]:
    I composed two messages today. A new message and a reply to a message I received on my MobileMe server.
    Customer [7:14 p.m.]:
    Whatever the reason, my default SMTP for new messages was MobileMe.
    Customer [7:14 p.m.]:
    At the time I composed the messages I didn't know I was offline (I am in a hotel where I need to authenticate every 24 hours).
    Customer [7:15 p.m.]:
    I authenticated and went back online and just assumed my mail would be sent. I checked my mail and was receiving mail on all three servers.
    Customer [7:15 p.m.]:
    I realized later that the two emails I composed did not send, were not in sent items, were not in drafts, and not in "outbox"
    Customer [7:16 p.m.]:
    I then tried to recreate the problem by going offline.
    Customer [7:16 p.m.]:
    I composed a message with me.com as the server - the message did not appear anywhere after pressing send.
    Customer [7:16 p.m.]:
    not in drafts or an outbox or any other folder.
    Customer [7:16 p.m.]:
    When I went online however, the message was found in some kind of cache and sent.
    Customer [7:17 p.m.]:
    Now I'm hoping there is a way to retrieve these two messages
    Advisor [7:18 p.m.]:
    I can understand your concern with this issue. What were the subject titles of the emails you are searching for?
    Customer [7:18 p.m.]:
    I can give you an approximate time I went online.
    Customer [7:19 p.m.]:
    I believe one was called "status" and the other was "card details"
    Customer [7:20 p.m.]:
    Six hours and 40 minutes ago - roughly
    Advisor [7:20 p.m.]:
    Okay, thank you. Actually right now we are having a issue with all mail servers today. At this time, we are asking customers to use their online account at www.me.com to send and receive messages. This is a brand new issue and we are working to get this resolved as soon as possible.
    Customer [7:21 p.m.]:
    Here is my concern. The email I wrote was long and involved and to recreate it would be very difficult - do you believe this email has been permanently lost?
    Advisor [7:23 p.m.]:
    No, absolutely. If the mail was sent through MobileMe servers then it is there.
    Customer [7:23 p.m.]:
    Well that is what I'm asking - was it left in some unknown cache location on my iPad or was it transmitted?
    Customer [7:23 p.m.]:
    How would I know.
    Advisor [7:24 p.m.]:
    No, I'm talking about MobileMe servers that you would not be able to see on your iPad or in me.com. Not a Sent folder or Draft folder. We would have to retrieve the message.
    Customer [7:27 p.m.]:
    I understand that - but since I tried to recreate the problem I noticed that a message composed and sent on the ipad while offline is "saved" in an unknown location. When coming back online the mysteriously "saved" message is found by either MobileMe and Ipad and "sending" appears below the status. Of course these two emails have now been missing for almost 7 hours so I was wondering if you can confirm they are on your server.
    Advisor [7:29 p.m.]:
    We cannot see actual messages or their titles on the server. We can only see the amount of messages in each folder. They would have to searched for to pull them from the server.
    Customer [7:29 p.m.]:
    ok what is the next step - as this is time sensitive.
    Advisor [7:30 p.m.]:
    Please give me a few minutes.
    Customer [7:40 p.m.]:
    I'll be away from my computer for a few minutes as well so if you return in my absence please don't disconnect
    Advisor [7:41 p.m.]:
    Thank you for waiting. This issue requires an escalation which means a Senior Advisor will contact you within 24-48 hours through an alternate email address. Can you provide an alternate email address please?

  • Server aol imap cannot be contacted on the default ports...emails not sending

    my emails are not sending it says
    cannot send message using the server aol
    the server AOL IMAP cannot be contacted on the default ports

    Hello Sophie,
    Thank you for all the information you provided about what is going on with your email on your MacBook Pro.  I recommend following the steps in the article below to continue isolating and troubleshooting the issue you are experiencing with Mail:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Email not send mail using yahoo

    my mail will recieve messages from yahoo mail but won't send.
    i have SSL on both my incoming and outgoing mail.
    my SSL for incoming is 995
    and for out going is 465
    both with the correct password and username.
    i am running mac osx 10.5.4

    Sorry to have to be gone most of the day.
    You are saying that with the Activity monitor, it never connects, and never enters the transmitting phase?
    Do you have an email account with your ISP or is this Yahoo what is provided by your ISP?
    In Leopard, with some connections, there can be an issue not experienced in Tiger. I had this issue, but it only slowed sending and not completely cut it off. I will paste in what I and others have done to work around the issue:
    I have experienced the same behavior. For me it is corrected by entering a primary and secondary DNS address in the modem. I think this behavior differs for some people, and must be related to interaction with specific ISPs. Since I don't have Leopard on a laptop, I have not tested in remote venues.
    I changed my Modem to have dedicated DNS address. It may be possible to do in the router, instead, but I did mine in the Modem. How that is done will likely depend on the brand of modem. You will likely need to query your ISP to get the server DNS number -- if so, they would be able to guide the change in the modem.
    For me, it could be done in the Setup/DHCP dialogue with the modem, via browser. I have no confirmation of this resolving not sending, but suspect sluggish connection to the SMTP could lead to time outs and total failure to send.
    Ernie

  • Email not sending...only recieving?

    Have had new 4s for a week all of a sudden I can not send only recieve emails in my hotmail account.  Get this message, "An error occurred while delivering this message". I have deleted and added the account, which has been verified, multiple times.  Still the same error...any ideas?  Thanks

    I have the same problem with my new 4s. Did you (or anyone else) find a solution to the problem yet? Thanks!

  • Reply to emails not sending!

    Reply to emails are not sending on IPad.  No problem with original emails being sent.  Have checked with our ISP and no problem there.  Reply to emails on MacAir working fine.  Can this be remedied?

    could it be that you have more then 1 email account and your issue is with all others then the default email sending account something which you setup in the settings?

  • AOL emails not sending on my 4S...

    My AOL makes the sound as if my email are sending, but they don't appear in my sent folder & come back undeliverable 2 days later. It doesn't always happen, but more so than not. Any idea what the problem can be & how I can fix it?
    I've already deleted the account twice & readded it.
    Thanks!

    This is a part of the message...
    "Action: failed Status: 4.0.0 Remote-MTA: dns; core-msa003c.r1000.mail.aol.com Diagnostic-Code: smtp; 451 4.0.0 Temporary message delivery failure try again Return-Path: Received: from [10.249.146.54] (199.sub-174-254-196.myvzw.com [174.254.196.199]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-ma04.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id CBB60E000098 for ; Thu, 24 Nov 2011 03:48:07 -0500 (EST) Subject: Fwd: Undelivered Mail Returned to Sender References"

  • Why will IMAP email not send from Mac OS 10.10.1 Yosemite Mail even though it is configured the same as on my old Macbook (and emails are sending just fine on the old computer)?

    I can receive but cannot send IMAP email on my 1&1 mail account from Mac OS 10.10.1 Yosemite Mail on my new Macbook Pro. The account is set up the same port, password, username, server name as on my old Macbook and emails are sending just fine on the old computer.
    When I hit send on the new Macbook Pro running Yosemite I get this message:
    "The connection to host ... on port 993 failed.
    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent."
    It shows the server as (offline)
    I've tried erasing and typing in the password.  I've tried both checking and unchecking Automatically detect and maintain account settings. Still cannot send.
    I also have a Gmail account and it is working...

    email service uses an Incoming Server and an Outgoing Server. Mac Mail makes access to the Incoming Server(s) obvious, and hides the settings for the outgoing Server(s). A quick and easy way to get access to the Outgoing Servewr settings is to use:
    Window > Connection Doctor ...
    ... then click on the red light for the Server that is not working for you to see its settings.
    This web page will make an educated guess about how to set up your Servers, and NO SPAM will follow:
    https://www.apple.com/support/mail-settings-lookup/

Maybe you are looking for

  • Time Machine doesn't open

    Hello, it seems that since I installed OS X 10.8 I need to visit these forums more often... Ok, the problem is just the following screenshot... I've tried restarting, plugging an external HD (with the proper format), but I don't know how to handle th

  • Making a photographic book in landscape and portrait mode in iBooks author

    Hello, I am making a photographic book with the iBooks author and I have a problem that I cannot resolve. The book is only with photos, without text and I am putting every photo on a whole page. I made around 15 pages in landscape orientation and now

  • Hard Drive Needs To Be Repaired - Missing Disc

    I have a Macbook that came with Tiger on it, and I have manually installed Leopard and Snow Leopard. I was recently verifying the disk and got the message "This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS

  • No Check Information Found

    In FB03, after you enter the document number and then goto Environment-->Check Information, we are getting an error " No Check Information Was Found". The document is a clearing document but it does not have the corresponding check number. Can anyone

  • Hide checklist in ADF form

    Hi All, I would like to hide some of the list box and only show them if some specific options choose in the previouse checklist then show that list... for instance I have a checklist1 which shows all my failures if I choose F1,F3,F4 then I would like