Problem with package that create mail with PDF attachment

Hola,
I've this problem when I use the Oracle Package called "demo_mail",
that I have download from this forum en september.
The code of the Package, I post bottom, now I
write the records of the Package,
that I believe is the core of the problem:
demo_mail.begin_attachment( conn => conn,
mime_type => 'application/pdf',
inline => TRUE, filename => ''|| VC_NOMEFILE ||'',
transfer_enc => 'base64');
The mime_type is correct?
Why when I open the attachment of the mail, it say me that file type
is not correct or the file has been damneged? I need help!
Thank's
*********************************************************The steps that I've done:
1. PACKAGE demo_mail
2. PACKAGE BODY demo_mail
3. procedure P_SPEDMAILSERVATTA (that call package) this
Cannot write the code, because this the result. :(((
thank's
CREATE OR REPLACE PACKAGE demo_mail IS
-- Customize the SMTP host, port and your domain name below.
smtp_host VARCHAR2(256) := 'XXX.YYYY.IT';
smtp_port PLS_INTEGER := 25;
smtp_domain VARCHAR2(256) := 'YYYY.it';
-- Customize the signature that will appear in the email's MIME header.
-- Useful for versioning.
MAILER_ID CONSTANT VARCHAR2(256) := 'Mailer by Oracle UTL_SMTP';
--------------------- End Customizable Section ---------------------
-- A unique string that demarcates boundaries of parts in a multi-part email
-- The string should not appear inside the body of any part of the email.
-- Customize this if needed or generate this randomly dynamically.
BOUNDARY CONSTANT VARCHAR2(256) := '-----7D81B75CCC90D2974F7A1CBD';
FIRST_BOUNDARY CONSTANT VARCHAR2(256) := '--' || BOUNDARY || utl_tcp.CRLF;
LAST_BOUNDARY CONSTANT VARCHAR2(256) := '--' || BOUNDARY || '--' ||
utl_tcp.CRLF;
-- A MIME type that denotes multi-part email (MIME) messages.
MULTIPART_MIME_TYPE CONSTANT VARCHAR2(256) := 'multipart/mixed; boundary="'||
BOUNDARY || '"';
MAX_BASE64_LINE_WIDTH CONSTANT PLS_INTEGER := 76 / 4 * 3;
-- A simple email API for sending email in plain text in a single call.
-- The format of an email address is one of these:
-- someone@some-domain
-- "Someone at some domain" <someone@some-domain>
-- Someone at some domain <someone@some-domain>
-- The recipients is a list of email addresses separated by
-- either a "," or a ";"
PROCEDURE mail(sender IN VARCHAR2,
          recipients IN VARCHAR2,
          subject IN VARCHAR2,
          message IN VARCHAR2);
-- Extended email API to send email in HTML or plain text with no size limit.
-- First, begin the email by begin_mail(). Then, call write_text() repeatedly
-- to send email in ASCII piece-by-piece. Or, call write_mb_text() to send
-- email in non-ASCII or multi-byte character set. End the email with
-- end_mail().
FUNCTION begin_mail(sender IN VARCHAR2,
          recipients IN VARCHAR2,
          subject IN VARCHAR2,
          mime_type IN VARCHAR2 DEFAULT 'text/plain',
          priority IN PLS_INTEGER DEFAULT NULL)
          RETURN utl_smtp.connection;
-- Write email body in ASCII
PROCEDURE write_text(conn IN OUT NOCOPY utl_smtp.connection,
          message IN VARCHAR2);
-- Write email body in non-ASCII (including multi-byte). The email body
-- will be sent in the database character set.
PROCEDURE write_mb_text(conn IN OUT NOCOPY utl_smtp.connection,
               message IN VARCHAR2);
-- Write email body in binary
PROCEDURE write_raw(conn IN OUT NOCOPY utl_smtp.connection,
          message IN RAW);
-- APIs to send email with attachments. Attachments are sent by sending
-- emails in "multipart/mixed" MIME format. Specify that MIME format when
-- beginning an email with begin_mail().
-- Send a single text attachment.
PROCEDURE attach_text(conn IN OUT NOCOPY utl_smtp.connection,
               data IN VARCHAR2,
               mime_type IN VARCHAR2 DEFAULT 'text/plain',
               inline IN BOOLEAN DEFAULT TRUE,
               filename IN VARCHAR2 DEFAULT NULL,
          last IN BOOLEAN DEFAULT FALSE);
-- Send a binary attachment. The attachment will be encoded in Base-64
-- encoding format.
PROCEDURE attach_base64(conn IN OUT NOCOPY utl_smtp.connection,
               data IN RAW,
               mime_type IN VARCHAR2 DEFAULT 'application/octet',
               inline IN BOOLEAN DEFAULT TRUE,
               filename IN VARCHAR2 DEFAULT NULL,
               last IN BOOLEAN DEFAULT FALSE);
-- Send an attachment with no size limit. First, begin the attachment
-- with begin_attachment(). Then, call write_text repeatedly to send
-- the attachment piece-by-piece. If the attachment is text-based but
-- in non-ASCII or multi-byte character set, use write_mb_text() instead.
-- To send binary attachment, the binary content should first be
-- encoded in Base-64 encoding format using the demo package for 8i,
-- or the native one in 9i. End the attachment with end_attachment.
PROCEDURE begin_attachment(conn IN OUT NOCOPY utl_smtp.connection,
               mime_type IN VARCHAR2 DEFAULT 'text/plain',
               inline IN BOOLEAN DEFAULT TRUE,
               filename IN VARCHAR2 DEFAULT NULL,
               transfer_enc IN VARCHAR2 DEFAULT NULL);
-- End the attachment.
PROCEDURE end_attachment(conn IN OUT NOCOPY utl_smtp.connection,
               last IN BOOLEAN DEFAULT FALSE);
-- End the email.
PROCEDURE end_mail(conn IN OUT NOCOPY utl_smtp.connection);
-- Extended email API to send multiple emails in a session for better
-- performance. First, begin an email session with begin_session.
-- Then, begin each email with a session by calling begin_mail_in_session
-- instead of begin_mail. End the email with end_mail_in_session instead
-- of end_mail. End the email session by end_session.
FUNCTION begin_session RETURN utl_smtp.connection;
-- Begin an email in a session.
PROCEDURE begin_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection,
                    sender IN VARCHAR2,
                    recipients IN VARCHAR2,
                    subject IN VARCHAR2,
                    mime_type IN VARCHAR2 DEFAULT 'text/plain',
                    priority IN PLS_INTEGER DEFAULT NULL);
-- End an email in a session.
PROCEDURE end_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection);
-- End an email session.
PROCEDURE end_session(conn IN OUT NOCOPY utl_smtp.connection);
END;
CREATE OR REPLACE PACKAGE BODY demo_mail IS
-- Return the next email address in the list of email addresses, separated
-- by either a "," or a ";". The format of mailbox may be in one of these:
-- someone@some-domain
-- "Someone at some domain" <someone@some-domain>
-- Someone at some domain <someone@some-domain>
FUNCTION get_address(addr_list IN OUT VARCHAR2) RETURN VARCHAR2 IS
addr VARCHAR2(256);
i pls_integer;
FUNCTION lookup_unquoted_char(str IN VARCHAR2,
                    chrs IN VARCHAR2) RETURN pls_integer AS
c VARCHAR2(5);
i pls_integer;
len pls_integer;
inside_quote BOOLEAN;
BEGIN
inside_quote := false;
i := 1;
len := length(str);
WHILE (i <= len) LOOP
     c := substr(str, i, 1);
     IF (inside_quote) THEN
     IF (c = '"') THEN
     inside_quote := false;
     ELSIF (c = '\') THEN
     i := i + 1; -- Skip the quote character
     END IF;
     GOTO next_char;
     END IF;
     IF (c = '"') THEN
     inside_quote := true;
     GOTO next_char;
     END IF;
     IF (instr(chrs, c) >= 1) THEN
     RETURN i;
     END IF;
     <<next_char>>
     i := i + 1;
END LOOP;
RETURN 0;
END;
BEGIN
addr_list := ltrim(addr_list);
i := lookup_unquoted_char(addr_list, ',;');
IF (i >= 1) THEN
addr := substr(addr_list, 1, i - 1);
addr_list := substr(addr_list, i + 1);
ELSE
addr := addr_list;
addr_list := '';
END IF;
i := lookup_unquoted_char(addr, '<');
IF (i >= 1) THEN
addr := substr(addr, i + 1);
i := instr(addr, '>');
IF (i >= 1) THEN
     addr := substr(addr, 1, i - 1);
END IF;
END IF;
RETURN addr;
END;
-- Write a MIME header
PROCEDURE write_mime_header(conn IN OUT NOCOPY utl_smtp.connection,
               name IN VARCHAR2,
               value IN VARCHAR2) IS
BEGIN
utl_smtp.write_data(conn, name || ': ' || value || utl_tcp.CRLF);
END;
-- Mark a message-part boundary. Set <last> to TRUE for the last boundary.
PROCEDURE write_boundary(conn IN OUT NOCOPY utl_smtp.connection,
               last IN BOOLEAN DEFAULT FALSE) AS
BEGIN
IF (last) THEN
utl_smtp.write_data(conn, LAST_BOUNDARY);
ELSE
utl_smtp.write_data(conn, FIRST_BOUNDARY);
END IF;
END;
PROCEDURE mail(sender IN VARCHAR2,
          recipients IN VARCHAR2,
          subject IN VARCHAR2,
          message IN VARCHAR2) IS
conn utl_smtp.connection;
BEGIN
conn := begin_mail(sender, recipients, subject);
write_text(conn, message);
end_mail(conn);
END;
FUNCTION begin_mail(sender IN VARCHAR2,
          recipients IN VARCHAR2,
          subject IN VARCHAR2,
          mime_type IN VARCHAR2 DEFAULT 'text/plain',
          priority IN PLS_INTEGER DEFAULT NULL)
          RETURN utl_smtp.connection IS
conn utl_smtp.connection;
BEGIN
conn := begin_session;
begin_mail_in_session(conn, sender, recipients, subject, mime_type,
priority);
RETURN conn;
END;
PROCEDURE write_text(conn IN OUT NOCOPY utl_smtp.connection,
          message IN VARCHAR2) IS
BEGIN
utl_smtp.write_data(conn, message);
END;
PROCEDURE write_mb_text(conn IN OUT NOCOPY utl_smtp.connection,
               message IN VARCHAR2) IS
BEGIN
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(message));
END;
PROCEDURE write_raw(conn IN OUT NOCOPY utl_smtp.connection,
          message IN RAW) IS
BEGIN
utl_smtp.write_raw_data(conn, message);
END;
PROCEDURE attach_text(conn IN OUT NOCOPY utl_smtp.connection,
               data IN VARCHAR2,
               mime_type IN VARCHAR2 DEFAULT 'text/plain',
               inline IN BOOLEAN DEFAULT TRUE,
               filename IN VARCHAR2 DEFAULT NULL,
          last IN BOOLEAN DEFAULT FALSE) IS
BEGIN
begin_attachment(conn, mime_type, inline, filename);
write_text(conn, data);
end_attachment(conn, last);
END;
PROCEDURE attach_base64(conn IN OUT NOCOPY utl_smtp.connection,
               data IN RAW,
               mime_type IN VARCHAR2 DEFAULT 'application/octet',
               inline IN BOOLEAN DEFAULT TRUE,
               filename IN VARCHAR2 DEFAULT NULL,
               last IN BOOLEAN DEFAULT FALSE) IS
i PLS_INTEGER;
len PLS_INTEGER;
BEGIN
begin_attachment(conn, mime_type, inline, filename, 'base64');
-- Split the Base64-encoded attachment into multiple lines
i := 1;
len := utl_raw.length(data);
WHILE (i < len) LOOP
IF (i + MAX_BASE64_LINE_WIDTH < len) THEN
     -- After upgrade to Oracle 9i, replace demo_base64.encode with the
     -- native utl_encode.base64_encode for better performance:
     -- utl_smtp.write_raw_data(conn,
-- utl_encode.base64_encode(utl_raw.substr(data, i,
     -- MAX_BASE64_LINE_WIDTH)));
     utl_smtp.write_raw_data(conn,
utl_encode.base64_encode(utl_raw.substr(data, i,
     MAX_BASE64_LINE_WIDTH)));
ELSE
     -- After upgrade to Oracle 9i, replace demo_base64.encode with the
     -- native utl_encode.base64_encode for better performance:
     -- utl_smtp.write_raw_data(conn,
     -- utl_encode.base64_encode(utl_raw.substr(data, i)));
     utl_smtp.write_raw_data(conn,
     utl_encode.base64_encode(utl_raw.substr(data, i)));
END IF;
utl_smtp.write_data(conn, utl_tcp.CRLF);
i := i + MAX_BASE64_LINE_WIDTH;
END LOOP;
end_attachment(conn, last);
END;
PROCEDURE begin_attachment(conn IN OUT NOCOPY utl_smtp.connection,
               mime_type IN VARCHAR2 DEFAULT 'text/plain',
               inline IN BOOLEAN DEFAULT TRUE,
               filename IN VARCHAR2 DEFAULT NULL,
               transfer_enc IN VARCHAR2 DEFAULT NULL) IS
BEGIN
write_boundary(conn);
write_mime_header(conn, 'Content-Type', mime_type);
IF (filename IS NOT NULL) THEN
IF (inline) THEN
     write_mime_header(conn, 'Content-Disposition',
     'inline; filename="'||filename||'"');
ELSE
     write_mime_header(conn, 'Content-Disposition',
     'attachment; filename="'||filename||'"');
END IF;
END IF;
IF (transfer_enc IS NOT NULL) THEN
write_mime_header(conn, 'Content-Transfer-Encoding', transfer_enc);
END IF;
utl_smtp.write_data(conn, utl_tcp.CRLF);
END;
PROCEDURE end_attachment(conn IN OUT NOCOPY utl_smtp.connection,
               last IN BOOLEAN DEFAULT FALSE) IS
BEGIN
utl_smtp.write_data(conn, utl_tcp.CRLF);
IF (last) THEN
write_boundary(conn, last);
END IF;
END;
PROCEDURE end_mail(conn IN OUT NOCOPY utl_smtp.connection) IS
BEGIN
end_mail_in_session(conn);
end_session(conn);
END;
FUNCTION begin_session RETURN utl_smtp.connection IS
conn utl_smtp.connection;
BEGIN
-- open SMTP connection
conn := utl_smtp.open_connection(smtp_host, smtp_port);
utl_smtp.helo(conn, smtp_domain);
RETURN conn;
END;
PROCEDURE begin_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection,
                    sender IN VARCHAR2,
                    recipients IN VARCHAR2,
                    subject IN VARCHAR2,
                    mime_type IN VARCHAR2 DEFAULT 'text/plain',
                    priority IN PLS_INTEGER DEFAULT NULL) IS
my_recipients VARCHAR2(32767) := recipients;
my_sender VARCHAR2(32767) := sender;
BEGIN
-- Specify sender's address (our server allows bogus address
-- as long as it is a full email address ([email protected]).
utl_smtp.mail(conn, get_address(my_sender));
-- Specify recipient(s) of the email.
WHILE (my_recipients IS NOT NULL) LOOP
utl_smtp.rcpt(conn, get_address(my_recipients));
END LOOP;
-- Start body of email
utl_smtp.open_data(conn);
-- Set "From" MIME header
write_mime_header(conn, 'From', sender);
-- Set "To" MIME header
write_mime_header(conn, 'To', recipients);
-- Set "Subject" MIME header
write_mime_header(conn, 'Subject', subject);
-- Set "Content-Type" MIME header
write_mime_header(conn, 'Content-Type', mime_type);
-- Set "X-Mailer" MIME header
write_mime_header(conn, 'X-Mailer', MAILER_ID);
-- Set priority:
-- High Normal Low
-- 1 2 3 4 5
IF (priority IS NOT NULL) THEN
write_mime_header(conn, 'X-Priority', priority);
END IF;
-- Send an empty line to denotes end of MIME headers and
-- beginning of message body.
utl_smtp.write_data(conn, utl_tcp.CRLF);
IF (mime_type LIKE 'multipart/mixed%') THEN
write_text(conn, 'This is a multi-part message in MIME format.' ||
     utl_tcp.crlf);
END IF;
END;
PROCEDURE end_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection) IS
BEGIN
utl_smtp.close_data(conn);
END;
PROCEDURE end_session(conn IN OUT NOCOPY utl_smtp.connection) IS
BEGIN
utl_smtp.quit(conn);
END;
END;
PROMPT     **********************************************************
PROMPT     CREAZIONE PROCEDURA P_SPEDMAILSERVATTA
PROMPT     **********************************************************
create or replace procedure P_SPEDMAILSERVATTA( VC_DESCDENOAZIE IN VARCHAR2,
                              VC_DESCINDIEMAI IN VARCHAR2,
                              VC_NUMEBOLL     IN VARCHAR2,
                              VC_PATHFILE     IN VARCHAR2,
                              VC_NOMEFILE     IN VARCHAR2,
                              VC_DESCINDIEMAIMITT IN VARCHAR2)
IS
conn utl_smtp.connection;
req utl_http.req;
resp utl_http.resp;
data RAW(200);
BEGIN
conn := demo_mail.begin_mail(
sender => 'SIAG srl <'|| VC_DESCINDIEMAIMITT ||'>',
recipients => ''|| VC_DESCDENOAZIE ||' '||'<'|| VC_DESCINDIEMAI ||'>'||'',
subject => 'Invio Bollettino n.'|| VC_NUMEBOLL ||'',
mime_type => demo_mail.MULTIPART_MIME_TYPE);
demo_mail.attach_text(
conn => conn,
data => 'Spett.le <b>'|| VC_DESCDENOAZIE ||'</b> <br> in allegato Le invio il Bollettino n. '|| VC_NUMEBOLL ||'.<br> <br> Distinti Saluti <br><br> <hr align="left" width="20%"> ',
mime_type => 'text/html');
demo_mail.begin_attachment(
conn => conn,
mime_type => 'application/pdf',
inline => TRUE,
filename => ''|| VC_NOMEFILE ||'',
transfer_enc => 'base64');
-- In writing Base-64 encoded text following the MIME format below,
-- the MIME format requires that a long piece of data must be splitted
-- into multiple lines and each line of encoded data cannot exceed
-- 80 characters, including the new-line characters. Also, when
-- splitting the original data into pieces, the length of each chunk
-- of data before encoding must be a multiple of 3, except for the
-- last chunk. The constant demo_mail.MAX_BASE64_LINE_WIDTH
-- (76 / 4 * 3 = 57) is the maximum length (in bytes) of each chunk
-- of data before encoding.
req := utl_http.begin_request('http://localhost/'|| VC_PATHFILE ||'/'|| VC_NOMEFILE ||'');
resp := utl_http.get_response(req);
BEGIN
LOOP
utl_http.read_raw(resp, data, demo_mail.MAX_BASE64_LINE_WIDTH);
demo_mail.write_raw(
conn => conn,
message => utl_encode.base64_encode(data));
END LOOP;
EXCEPTION
WHEN utl_http.end_of_body THEN
utl_http.end_response(resp);
END;
demo_mail.end_attachment( conn => conn );
demo_mail.end_mail( conn => conn );
END;
Message was edited by:
mosquito70
Message was edited by:
mosquito70

Hola, I've this problem when I use the Oracle Package called "demo_mail",
that I have download from this forum en september.
The code of the Package, I post bottom, now I
write the records of the Package,
that I believe is the core of the problem:
demo_mail.begin_attachment( conn => conn,
mime_type => 'application/pdf',
inline => TRUE, filename => ''|| VC_NOMEFILE ||'',
transfer_enc => 'base64');
The mime_type is correct?
Why when I open the attachment of the mail, it say me that file type
is not correct or the file has been damneged? I need help!
Thank's
The steps that I've done:
1. PACKAGE demo_mail
2. PACKAGE BODY demo_mail
3. procedure P_SPEDMAILSERVATTA (that call package)
I cannot post the code :((

Similar Messages

  • Question: Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages? - Problem: I have 1400 e-mails with attachments that need to be conv

    Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages?
    - Problem: I have 1400 e-mails with attachments that need to be converted into pdf and the attachments cannot be embeded.
    System: PC Windows 7 using Acrobat X Prof. - Thank you!

    Hi ,
    There is an option of embedding index for faster search while converting email to a PDF .
    However I am not sure that will serve your purpose or not .
    I would recommend you to get in touch with Microsoft support as well .
    Meanwhile I'll work on it and get back to you in case I get a desired solution .
    Regards
    Sukrit Dhingra

  • Create mails with embedded pix ?

    When I attach a pic to an email, it's an attachment that won't even be shown inline within MS Outlook. Outlook, on the other side, can create HTML mails; Mail.app creates RTF mails.
    How can I create mails with embedded pix - like e.g. Apple's newsletters, iTMS gift notifications...
    Thanks a lot
    Peter

    Here's a post at Hawk Wings that may help:
    http://www.hawkwings.net/2005/09/27/composing-html-messages-in-apple-mail/
    Good luck.
    Bronson

  • Iphoto will not open I am asked to check with developer that iphoto works with this version of OS x I have followed all the steps recomended and reinstalle ILife but to no avail

    Iphoto will not open I am asked to check with developer that iphoto works with this version of OS x. I have Mountain Lion OS X I have followed all the steps recomended  by T Devlin in a previous discussionand reinstalle ILife but to no avail

    To reinstall iPhoto you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the:
    HD/Library/Receipts folder (10.5 and earlier)
    or from the /var/db/receipts/  folder (10.6) .
    or from the /private/var/db/receipts folder (10.7 or later)
    Then install iPhoto from the source it came from originally.

  • Looking to replace my Mac Pro 2.1 graphics card with one that is silent with at least 2 DVI outputs (needed for audio production), any recommendations?

    Looking to replace my Mac Pro 2.1 graphics card with one that is silent with at least 2 DVI outputs (needed for audio production), any recommendations?
    Thanks

    Thanks, but are these are silent?
    Why do they cost over 10 x what seems available for PC?
    Is it not possible to flash the cards for mac?
    Something similar to a ASUS Geforce 8400GS PCI-E 2.0 512 MB DDR2 Graphics Card EN8400GS Silent/P/512M?

  • Problem in reaching my e-mail with iMac on Hotmail (sympatico)

    Her is my problem
    I have many computers Mac and Thinkpad... but I still use my iMac OS9.2 and recently, my internet server, Sympatico, told me that I could not reach my e-mail without changing browser to Mozilla...
    I don't know if it's worth the trouble just for an e-mail problem since I can get my e-mail with my other computers... But I find this anoying, insulting even...
    All my other computers are using MozillaFirefox... Exept my PowerBook which is using Safari...
    Is there an easy way to get Mozilla on my iMac OS9.2... I don't want to change my desk and having to rebuild it... The solution should be an easy one: downloading Mozilla like I did with my other computers(wich are all recent models 2007)... I don't know much about computers... so the solution has to be easy... Although I have friends that could help me understand any suggestion that I would receive here... If anything received is to complicated for me I would ask a friend to do it... if its worth the troublelike I said just for an e-mail reaching problem!
    Thanks for any suport... or encouragement...or friendly Aple user reconfort!
    How is it possible that all of a sudden a working computer cannot reach an e-mail... I was mad at my server wich is Bell-Sympatico and I told them I was going to cancel my subscription... But then I calmed down and tought that it would be stupid to do that just for an e-mail problem since I can go on internet with that iMac... Anyway, if any of you guys know ans easy solution for downloading a working version of Mozilla let me know... or any other way of gettin that iMac to reach my e-mail: [email protected]
    imac   Mac OS 9.2.x  

    Hi, francoeur. You can download WAMCom Mozilla 1.3.1
    (the last, best OS 9-based version) from this page:
    http://wamcom.org/latest-131/
    Thank you much!
    1.Is this the wright one:wamcom-131-macos9-20030723.sit
    2.Is it easy to download?
    3.Will I have to make any changes or ajustements on my present desk?
    Again: thank you!
    If I manage to download that 1.3.1 or if I ask someone who knows about iMac os9 to do it, I will let you know how it went and if and how it is working...
    francoeur
    rock desire
    imac Mac OS 9.2.x

  • HT201320 when i send an email using my hotmail address through outlook my contacts do not receive the mail. when i send the same mail through my iPad or iPhone no problem my contacts receive the mail. this only problem happens when i send mail with my mac

    I have a hotmail email address. I compose my mail useing MS outlook. when i send the mail to my contacts useing my macbook air,my contacts tell me there have not received the mail.
    when i send the same message with my ipad or iphone no problem my contacts receive the mail.
    what is the problem?

    Blair84 wrote:
    Double check your contacts email, and if its incorrect, go to their contact and change it and save it or you can delete the email you put in, and manually type it in.
    Hope this helps.
    How would that help the original poster?

  • Having problems with maverick and outgoing mail with domain name

    hi
    i just upgraded my operating system from mountain lion to maverick. i did a clean install on a new hard drive.
    anyways, my desktop mac mini computer using mountain lion is having no problems with my outgoing mail with my domain name.
    smtp.1and1.com
    custom port 993
    SSL
    password
    using the exact same info on my laptop with maverick
    no dice.
    mail comes in but can't email out with my domain name
    i tried  -  smtp.1and1.com:(email address)
    any suggestions
    thanks
    phil

    Hi, Phillip Chin. 
    Thank you for the question.  The article below will help you troubleshoot the issue that you are experiencing with mail.
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Cheers,
    Jason H.

  • Illustrator cs6: pdf export with hks colours creates b/w pdf...

    hello forum,
    i have a illu cs6 document with 2 hks colours and black. with »save as...« i want to create a printable pdf. but this pdf only has black-and-white, no hks, no colours.
    then i changed the hks to cmyk. now the export as pdf works with the cmyk colours.
    help, please, whats wrong?
    thanks :-)

    Try using the PDF/x-4 preset. If an all CMYK PDF is required, set the Color Conversion to Convert to Destination, and the Destination to Document CMYK.

  • Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail?  I have ove 100 subfolders with rules that redirect mail.

    Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail in one location?
    I have an iPhone 4 (not 4S). I use the Outlook client with an Exchange Server on my Desk. 
    In order to keep email organized, I have many subfolders (over 100) under my Inbox with rules that automatically redirect the bulk of new unread email to the subfolders.
    In the Outlook client on the desktop, there is an "Unread Mail" Folder that lets me see ll unread mail in one location whether it be in the main inbox or in one of the subfolders of the inbox. 
    I would like to see all unread email in one location without me having to change my rules and work flow that I have been using for 7+ years?
    It is much more work for me (so far) to see new email on the iPhone.  You have to scan each subfolder in order to tell where the new mail is that just arrived.

    Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail in one location?
    I have an iPhone 4 (not 4S). I use the Outlook client with an Exchange Server on my Desk. 
    In order to keep email organized, I have many subfolders (over 100) under my Inbox with rules that automatically redirect the bulk of new unread email to the subfolders.
    In the Outlook client on the desktop, there is an "Unread Mail" Folder that lets me see ll unread mail in one location whether it be in the main inbox or in one of the subfolders of the inbox. 
    I would like to see all unread email in one location without me having to change my rules and work flow that I have been using for 7+ years?
    It is much more work for me (so far) to see new email on the iPhone.  You have to scan each subfolder in order to tell where the new mail is that just arrived.

  • Need help with select that month range with flexible first date

    Hello everyone,
    I am trying to create a selection of month range (will be in a WITH clause) for a report to display monthly data. But the first month start date can be any date. (Not necessarily the first date of the month)
    Examples:
    Report input parameters:
    Start Date: 08/10/12
    End Month: Dec 2012
    I was trying to build a with select that will list
    Month_Start, Month_End
    08/10/12, 31/10/12
    01/11/12, 30/11/12
    01/12/12, 31/12/12
    OR
    Month_Start, Next_Month
    08/10/12, 01/11/12
    01/11/12, 01/12/12
    01/12/12, 01/01/13
    End month is optional, so if no value the select will list only
    08/10/12, 01/11/12
    Oracle Database Details is
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    My code so far is
    VARIABLE  P50_START_DATE  VARCHAR2 (10)
    VARIABLE  P50_END_MONTH    VARCHAR2 (10)
    EXEC  :P50_START_DATE  := '10/10/2012';
    EXEC  :P50_END_MONTH   := '31/12/2012';
      SELECT  to_char(:P50_START_DATE) AS start_date
            ,  ADD_MONTHS( TRUNC(to_date(:P50_START_DATE,'DD/MM/YYYY'),'MONTH'), 1) AS next_month
      FROM dual
      union
       SELECT to_char(ADD_MONTHS( TRUNC(to_date(:P50_START_DATE,'DD/MM/YYYY'),'MONTH'), ROWNUM-1)) AS start_date
       ,      ADD_MONTHS( TRUNC(to_date(:P50_START_DATE,'DD/MM/YYYY'),'MONTH'), ROWNUM) AS next_month
       --, rownum
       from all_objects
       where
       rownum <= months_between(to_date(NVL(:P50_END_MONTH, :P50_START_DATE),'DD/MM/YYYY'), add_months(to_date(:P50_START_DATE,'DD/MM/YYYY'), -1))
       and rownum > 1If I put comment – on line and rownum > 1, as
    -- and rownum > 1The result I get is
    START_DATE                     NEXT_MONTH               
    01/10/12                       01/10/12                 
    01/11/12                       01/11/12                 
    01/12/12                       01/01/13                 
    10/10/2012                     01/11/12    But when I try to remove the duplicate period (of the first month) out by restrict rownum, it do not return any rows for the second select at all. The result I get is:
    START_DATE                     NEXT_MONTH               
    10/10/2012                     01/11/12    Can anyone advise what wrong with the select statement ?
    Thanks a lot in advance,
    Ann

    Hi,
    Here's one way:
    WITH   params      AS
         SELECT     TO_DATE (:p50_start_date, 'DD/MM/YYYY')     AS start_date
         ,     TO_DATE (:p50_end_month,  'DD/MM/YYYY')     AS end_date
         FROM     dual
    SELECT     GREATEST ( start_date
               , ADD_MONTHS ( TRUNC (start_date, 'MONTH')
                            , LEVEL - 1
              )               AS month_start
    ,     LEAST     ( end_date
              , ADD_MONTHS ( TRUNC (start_date, 'MONTH')
                          , LEVEL
                        ) - 1
              )               AS month_end
    FROM    params
    CONNECT BY     LEVEL     <= 1 + MONTHS_BETWEEN ( end_date
                                      , TRUNC (start_date, 'MONTH')
    ;:p50_end_month doesn't have to be the last day of the month; any day will work.
    If you want to generate a Counter Table containing the integers 1 througn x in SQL, you could say
    SELECT  ROWNUM  AS n
    FROM    all_objects
    WHERE   ROWNUM  <= x
    ;but, starting in Oracle 9.1, it's much faster to say
    SELECT  LEVEL   AS n
    FROM    dual    -- or any table containing exactly 1 row
    CONNECT BY  LEVEL <= x
    ;Also, x can be greater than the number of rows in all_objects.

  • Get trouble with WS that null result with 1record in a list

    I am using JDeveloper 10.1.3.1, SOA Suite 10.1.3.1 and Toplink session. I created two sessions. One is to use on local server which is CISS-local (OC4J Standalone) and another one is CISS to use on a remote server. The difference between them is the CISS session (Oracle SOA Suite iAS) use oracle.toplink.transaction.oc4j.Oc4jTransactionController as the external transaction controller, but the CISS-local (OC4J Standalone) does not use that.
    Based on that, I created a web service by using a method in the facade bean. In that method I use UnitOfWork to get the result from a table.
    Session session = getSessionFactory().acquireSession();
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    (List<classname>)uow.executeQuery("findById", classname.class, id);
    The query has one parameter, which is the id, it should return a list contains id and name. It is a very simple query. I get the result list size is 1, but then I try to get the value out, it shows that the value is null, even the id is null as well.
    It works fine on my local environement with the CISS-local session, but not on the remote server with CISS session. On the remote server, it works fine with the old data that has already in the database before deployed, but cannot work with the new create data. And it will work after restart the server.
    Who can help me??

    Annie Hall is available on DVD only.
    It is not available for streaming and I believe movies available for streaming are the only movies available with the Netflix app on an iOS device.

  • Is there an advantage in optical transmission with TTL that you lose with radio?

    I have an ST-E3-RT and 4 600EX-RTs and that is all I use for lighting. I use both E-TTL and Manual. I always prefer to use my radio for E-TTL but was wondering, is there an advantage whatsoever for someone in my case to ever use optical when all I need is Radio transmission either in E-TTL or manual? Is there an advantage in optical transmission with E-TTL that you lose with radio? I read somewhere that may be the case where the optical communication between speedlights for determining exposure in TTL is more accurate with optical transmission than radio. It may be that the Nikon folks are pushing that thought but wanted to check. Thank you all.
    Solved!
    Go to Solution.

    RezaM wrote:
    Thank you very much TCampbell. That's great information. So there's really no reason to use optical if I use 600s with an ST-E3-RT?
    To answer the question you've been getting at all along - No, optical offers no advantage that can't be achieved with the proper RF system.   Conversely, there are several advantages to RF that optical lack.  It would be a handicap to use the optical system if you have 600s and a ST-E3-RT.
    If you don't have that system yet, but are considering it, keep in mind there are alternate options that are cheaper and can even have features the Canon system doesn't - such as wireless second curtain sync.

  • Mail app PDF attachment is not visible

    I found several reports (and workarounds) of PDF attachment hiding in Mail application. It seems to be still not fixed, as I got the issue with current up-to-date software configuration: OS X 10.6.7, Mail 4.5 (1084).
    My details:
    - email is generated by some automatic system, it has HTML body and one PNG image (referred from the HTML). I know there is also PDF attachment (2 pages).
    - In mail view I see HTML rendering and PNG image as the only attachment; attachment count is 1. Nothing about PDF, also PDF contents is definetly not visible "inline".
    - in mail source I can see that the HTML, PNG and PDF are there (as MIME attachments). Quick look to the source does not show anything obviously broken there; I've programmed MIME email sending in low level and have some idea about it.
    - in File-Quick view attachments I can see PDF contents
    - in File-Save attachments also PDF attachment is saved fine
    - in most other emails I can see PDF files, inline or as attachments. So it has something to do with specific mail format, or MIME configuration.
    So the issue is that by normal view I just would have no idea that there is this hidden attachment.
    I happened to know from another mail reader (gmail) that the attachment is there, otherwise I could never notice it. Therefore it is major annoyance, especially that Apple has not succeeded to fix it fully for 5 years or so.

    I'm having the exact same problem here. I'm in Lion 10.73 running Mail 5.2.
    This is very frustrating because the "list view" window, there's an attachement column that show's there's 2 attachments (presumably one image attachment for a signature and one for a pdf)... but in the message window there's no pdf attachment.
    Surprisingly I have an iPad3 and the same message is missing the attachment as well.
    But then I go online to my webhost's webmail access and the attachment is there.

  • How to Send mail woth pdf attachment through workflow

    Hi SDNer's,
           I have a problem with pdf attachment through workflow. Please anybody help me to get solve my issue.

    Hi Suresh,
    I just tried this thing in my systtem and it is working... BADI is trigerred everytime there is a change in the PO... even when you release there is a change in the PO so this BADI will be triggerred....
    I suggest you should implement BADI in your dev system and place a break point in the POST method...
    After that create a PO and release it using ME29N... thereafter when you save the PO... this method will trigger and you will have access to PO details...
    PS: Remember this BADI wont work for transaction ME29...
    Regards
    Gautam

Maybe you are looking for