Sp_OAMethod, AttachFile, attachment comes through as ascii text

 
hey all.
im new to the ASP/SQL scene, so please bare with me.
i have to send an email (with two attachments) through sql server.
the mail arrives, but the attachments are not attachments... they are ascii text in the body. im using an existing stored proc, which apparently works. so there is no reason this shouldn't work.
The file exists, the path is correct. Its obviously seeing and reading the file (otherwise there would be no data to print as ascii)
thanks all.
Also, if you know of a better place where i can post this thread, please let me know

Thanx for your help guys much appreciated.
To answer your question, Bryan, yes, the stored proc works fine when one of the other guys runs it from live server. But we also found that mail based email services like GMail and Fastmail dont interpret the attachments correctly, and thats why they get represented as gobbledy gook.
Well im hopefully nearing the end of this mindnumbing task...
now just to decide how to send an email to 68 contractors... Cursor or Queue?
I know its less desirable, but im opting for Cursor. I dont know how to incorporate the Queue system they already have in place here. There are sprocs calling sprocs, and i dont know what does what.
My next question was going to be what the @@FETCH_STATUS does, exactly. I was gona do a search and see what came up.

Similar Messages

  • Attachment creation through SOFM: Prefix text in the attachment.

    Hi,
    Under "Objects and attachments" an attachment gets created with office document as prefix. Is this text configurable, the exact requirement is to remove "Office document". Please let me know about this.
    Thanks.
    Sukumar.

    Sukumar,
    Please check the program of business object 'SOFM'. Do the search using keyword 'office'. May be that prefix came from any text element or they passed it statically to any variable.
    Also put the external break point in Display attachment method and try to fine where its populated. If you found that location, then you can comment it or you can clear with in the workflow.
    Thanks,
    Vijay.

  • Messages come through as iMessage then text message a few seconds later?

    I have been having this problem off and on ever since I got my iPhone 4s, sometimes when someone with another iPhone messages me, the message comes through as an iMessage then a few seconds later I get the exact same message, but this time it comes through as a text message.  What would cause this?

    Hi, just checked. here are the details. BT Text 
    If BT have re arranged your account it would be best to re-register in case it has been deleted from your account.
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • Pic do not come through on ipad through text msg.

    If someone send me a text message with a pic attached the pic does not show up on my ipad. It will show up on my iPhone.

    Bcclaraday wrote:
    I turned my iPhone off and sent a test text from another phone ,waited ten minutes turned my iPhone back on ,test text did not come through
    Text messaging is a wireless carrier feature / service, so i'm not sure why you're asking about it here.  Contact them for support.

  • I just bought my first Iphone the 5S and when I turn on my bluetooth the ringtone for my text, calendar, etc. comes through my Bluetooth instead of the phone. Is there a way to have the tones use the phone while bluetooth is on?

    I just bought my first Iphone the 5S and when I turn on my bluetooth the ringtone for my text, calendar, etc. comes through my Bluetooth instead of the phone. Is there a way to have the tones use the phone while bluetooth is on?

    I would also like this issue addressed.
    I am using a Plantronics Voyager Pro+ and when it is connected to my iPhone 4, email and text sounds are not audible through the phone. The phone just vibrates when a new text or email is received.
    I don't really care if it plays through the headset, but it should at least play through the phone. I tested the headset from a BlackBerry and the alerts play fine.
    Message was edited by: picardsm

  • I have an iphone 4, and unable to send texts to one number, when they text me it comes through as their email address?

    Hi
    any one any suggestions as to why i am unable to text one particular number uless connected to WiFi?
    When this number texts me it comes through as their email address, even though they are in my contacts with the phone number. I have deleted the number and re input ....
    Thanks

    Sounds like a setup problem on their end.

  • While iPhone 5 is locked my texts and calls only come through intermittently

    So, this has been happening to me for almost a year now, I have been through everything to try and fix it, I am about to upgrade to the soon to be announced iPhone 6 but I would like an answer on it at least.
    While my iPhone is locked I do not receive calls or texts, now this doesn't happen 100% of the time but probably about 80% of the time. I have had my phone replaced, my sim card replaced, restored my iPhone and been through countless hours with my network provider to try and resolve this, still to this day it happens.
    Anyone have the same issue? And please don't say it it DND (Do Not Disturb) because it is not, I have literally tried everything I can think of, I am also a technical analyst by trade so I have not been naive about trying to sort this out.
    To add, I live in London and it happens everywhere, it is not only happening in a certain area.
    Please someone help.
    iPhone 5 64GB, IOS 7.1.2, Three Mobile Network.

    I'm talking about the notifications in the lock screen, yes. However, I have the 'View in Lock Screen' option on for all email accounts and it has always been this way, it's just that in the past few days this hasn't been functioning as intended. Now emails only come through once the phone is unlocked, which is annoying as I now have to manually check my mail, meaning that I may miss important emails.
    With the calls, it's happened 100% of the time, again over the past few days, all in the same location which I have never had issues with.
    Because both of these issues have arrised recently, I feel like it might be an issue with the hardware?

  • How do I read an email attachment in MS Outlook that comes through as win mail.dat extension?

    How do I read an email attachment in MS Outlook that comes through as winmail.dat file?  Is there a setting I can change to make any attachment I receive from someone who has Windows?  Thanks!

    Hope this helps.
    http://support.apple.com/kb/ht2614

  • Samsung Brightside - Texting comes through as garbage

    Have a Samsung Brightside and the texting doesn't seem to be consistent.   Often the text will come through as garbage characters.   Typically this happens if I am getting a text from an iPhone, or if they have put in any "special" characters.   Group messages are also a mess - I get one message that comes through as a media message for everyone that is on the group message.
    My phone is up to date with software.
    Has anyone seen the same thing and have an answer?
    Thanks.

        Hey there scottyergin! Sorry to hear about the messaging issue you've been having. I know from experience what that can be like when I had a Basic function device getting messages from smartphones. The reason why some messages contain unreadble/nonsense characters is because your device may not be able to translate certain font types or special features that are included with some messaging clients (even with your device's operating system being up-to-date).
    The iPhone uses an application called iMessage that provides its owners with many such options. It works best when communicating with other iMessage users, but can also be used to send/receive regular SMS/Text Messages. I recommend reaching out to one of your contacts if you should get a message like this again to ask that they disable special features (if possible) before sending another message so that you can read it. You may also considering joining the fun and getting an iPhone for yourself some day! If you're interested, have a look at all our latest devices at this link: http://bit.ly/nD0WuY
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • IPhone 5 water damage, will text messages come through?

    My iPhone 5 suffered water damage about a week ago. I spilled a drink on it and it was not responding to touch and wasnt reading my SIM card. I took the SIM card was taken out as soon as I realized it was wet. I did the rice thing for a few days. Currently my battery cant hold a charge long enough to power up past the Apple Logo screen.  I've since put the SIM back into the phone now that its all dry ( in order to avoid misplacing it). My question is, will the texts sent to my dead phone during this past week come through once my phone is repaired?

    Yes, but not until your check clears.

  • Can I turn off notifications during a phone call so I don't hear text messages come through

    Can u turn off notifications so I don't hear text messages come through when on the phone

    Like the vibrate button then you hear it keep buzzing does this not bother anyone else it kills me when my business sends group messages I can get 14 or 15 during a phone call when people start replying to each other thanks

  • HT1386 I last updated my husbands iPhone 4 and since then we are getting each others text messages. Sometimes when I text a person that is on bothe our contacts it will come through as my husband and not me.

    I last updated my husbands iPhone 4 and since then we are getting each others text messages. Sometimes when I text a person that is on bothe our contacts it will come through as my husband and not me.

    Try this:
    On all impacted devices, go to settings, messages, send & receive and place a checkmark next to only those phone numbers and email addresses listed you want that device to recognize.
    Good luck!
    Tony

  • Why do my Twitter alerts come through twice?

    Why do all of my Twitter alerts come through to my iPhone 5 (ioS8.1.3) twice?  Once as an SMS Text & once as a notification.
    I want to see these notifications, but not hear them.
    I think the best way to acheive that would be to stop the SMS Texts but still allow silent notifications under Notifications in Settings.
    How would I disable JUST the SMS Tweets but not notification Tweets?  Is that possible?
    I've been all over Twitter help pages but the only terminology I see for notification setting options see is 'SMS Text' notification settings..... ?
    Help.

    Do you have Exchange set up to sync your contacts? If, so, they will be backed up and will synce right back to your phone when you add the account right back.
    Aldo, before you delete the account, you can go in and turn off the items that you have synced with Exchange such as contacts. It will give you the choice to delete them from the phone or keep them. Choose keep them, then delete the account.
    Since mail is store on the server, you can get it back as long as you have not deleted what you want to keep.

  • Pdf attachments do not come through on iCloud mail but they do on other email accounts on same device

    I have several email accounts set up that appear on all my devices: iMac, iPhone and iPad.  I use 2 email accounts for work purposes, and good thing I use two. I receive pdf attachments in non-apple email accounts, but the same email sent to my iCloud address comes through minus the attachment and shows only "winmail.dat".  I am using the same device to read the email from the different accounts, but the problem is consistent with all my apple devices. This has to be a setting in iCloud mail but I can not figure it out. Please help.

    Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as NEW.
    If the basic troubleshooting steps don't work, then you'll need to bring your phone into Apple for evaluation and probable replacement.

  • How can I fix my phone's ringer? The call comes through but it won't ring.

    I've had my iPhone for over 6 months now with no issues. I have not had it reserviced, its not refurbished, and I bought it new from an AT&T store.
    This week my phone stopped ringing. The incoming call comes through on the screen, but it doesn't ring out loud so I know I'm getting a call and I can't sit and stare at my iPhone's screen all day long to see if I'm getting an incoming call. It vibrates when a call comes in maybe 20% of the time.
    Today I went into settings and reset my settings but it still didn't bring my ringer back. It plays the ringers when you are looking through the list of ringers, it plays it when you alter the volume setting, but when a call is actually coming in or when I'm receiving a text message or something, no sound.
    What can I do to get my ringer back?

    Check the mute switch on the side above the volume rocker. If the red dot shows, the phone is muted. You'll still be able to play the ringtones to select one.
    I find that the switch can be thrown to "mute" by accident when I put my iPhone in my belt holster.

Maybe you are looking for