Apex Mail and spam

Hi all,
I've created a bulk email screen in my app. so the users can email their contacts. Some email providers accept the mail no problem but others treat it as spam, I'm assuming that is because it is validating the From: address (which is a valid address) as not originating from the correct server? If I just send to one Yahoo address as a test, it will treat it as spam, so it isn't the volume of addresses causing the problem.
How do I make the recipient's mail servers treat the messages as trustworthy? Do I need to set up one account that Apex can use for the From: address?
regards,
Malcolm.

Hi Malcolm,
You only need a local send mail if you plan to use APEX_MAIL which uses your local mail queue, but you don't use sendmail for UTL_SMTP. UTL_SMTP creates its own TCP connection with the destination server.
I extracted one example procedure from the documentation page I linked above:
PROCEDURE send_email(
pFromUser IN VARCHAR2,
pToUser IN VARCHAR2,
pSubject IN VARCHAR2 DEFAULT NULL,
pBody IN VARCHAR2 DEFAULT NULL) IS
conn          UTL_SMTP.CONNECTION;
crlf         VARCHAR2(2):= CHR(13) || CHR(10);
EmailServer   VARCHAR2(60); := 'smtp.mlib.org';
mesg          VARCHAR2(4000) := 'Hello World';
pwd           VARCHAR2(200) := 'sEcReT';
SenderAddress VARCHAR2(200) := '<[email protected]>';
SenderName    VARCHAR2(50)  := 'damorgan11g';
pToList       VARCHAR2(4000);
vToReceivers  VARCHAR2(200);
uname         VARCHAR2(200);
BEGIN
  conn:= utl_smtp.open_connection(EmailServer, 25);
  utl_smtp.ehlo(conn, EmailServer);
  --utl_smtp.helo( conn, EmailServer );
  utl_smtp.command(conn, 'AUTH LOGIN');
  utl_smtp.command(conn, utl_raw.cast_to_varchar2(
    utl_encode.base64_encode( utl_raw.cast_to_raw(uname))));
  utl_smtp.command(conn, utl_raw.cast_to_varchar2(
    utl_encode.base64_encode( utl_raw.cast_to_raw(pwd))));
  utl_smtp.mail(conn, SenderAddress);
  utl_smtp.rcpt(conn, pToList);
  mesg:= 'Date: '|| TO_CHAR(SYSDATE, 'DD MON RR HH24:MI:SS' )|| crlf ||
         'From: "' || SenderName || '" ' || SenderAddress || crlf ||
         'Subject: ' || pSubject || crlf ||
         'To: '|| pToList || crlf||
         pBody || crlf || crlf;
  utl_smtp.data(conn, mesg);
  utl_smtp.quit(conn);
EXCEPTION
  WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20001,SQLERRM);
END;
/As you see, the procedure connects to the server, requests the AUTH LOGIN and provides username and password, before it starts to actually create the mail on the server.
Hope this helps clarifying that issue. If it didn't, don't stop asking. ;)
-Udo

Similar Messages

  • Is there a way to block unwanted e-mails and spam on your mobile devices?

    Is there a way to block unwanted e-mails and spam on your mobile devices?

    This is generally handled by your e-mail provider, not your e-mail reader.
    For example, I use Gmail and it filters spam before it ever gets to my inbox. If something does get through, I can move it to the spam folder on my iPhone to report it as spam.

  • Junk mail and spam - learning mode?

    Have been receiving unsolicited stock picks and viagara offers and move them to junk email folder that I created. Someone mentioned on a forum that a .mail account has a learning mode to help filter spam. I can't locate it. Any suggestions? Thank you.

    Look up the topic "Changing the junk mail filter" in Mail's Help to learn about Mail's built-in junk filter.

  • HT5361 Some of my email comes into "Inbox" but not all of that is reflected in "all Mail" so I have to check Inbox, All Mail and Spam to see all of my mail.  Also when I delete from All Mail it all pops back up again when I reopen it.  What to do?

    My goal is to get all incoming mail in the Inbox - and all deleted mail in the Trash...All mail seems to be redundant and causes duplication and confusion. 

    Information.
    Gmail with Apple Mail
    Gmail with Apple Mail (2)
    Gmail with Apple Mail (3)
    Gmail with Apple Mail (4)

  • Mac Mail and Poor Spam Filtering

    Hello. Is anyone else having issues with Mail not filtering Spam correctly? I have been battling something since early February. I'm getting hit with Spam every half hour. It's from 20+ different places and there special offers. About 50 spams a day.
    This has only been a real problem since 2 months ago.
    I've tried going into preferences in Mail and junk mail and then click advance and add the key words I don't want accepted, with no luck. My Advance filter system is so bogged down, I can't even see the end anymore.
    Here's my settings in Junk Mail:
    1. Enable Junk Mail Filtering = Yes
    2. When Junk Mail Arrives = Move to the Junk Mailbox Automatic
    3. The Following types of messages are exempt from junk filtering= all 3 on
    4. Trust junk mail headers set by you ISP = Yes
    Then in Advanced I have all the popular key Spam words in=
    Wal Mart, Viagra, Sex, Special Offer, Drugs, Cialus, Target, Sears, Credit, Loans, Hey Baby, Bro, Free Offer, Congratulations, confirmation ETC...
    I have the description at the top named "JUNK"
    Then under that...
    If "ANY" of the following conditions are met:
    "Subject" - "Contains" - "the names described above"
    But yet still these things keep getting through!!!!!
    Please someone help!!!! This is driving me MADDDDD!!!!

    Try setting Junk filtering back to Training for a couple of days, then see if it correctly intercepts all junk mail. If it doesn't, mark the escapes as junk and let the system gather knowledge
    Trash the junk messages or put them in the Junk folder first (maybe that adds to the learning curve? no idea, but it can't hurt) or erase them via Alt-apple-J

  • My Intego Personal Spam isn't plugging in to Apple Mail and even a re-install hasn't worked - anyone got any ideas?

    HI - I have a Macbook pro with OSX 10.6.8, and Intego Virus Barrier X6 and Personal Anti Spam.  The anti spam isn't working with Apple Mail and even a reinstall hasn't worked.  Anyone got any ideas?

    I suggest following the steps found in the manual: Using Personal Antispam with Apple Mail and Microsoft Entourage or Outlook
    When you first configured Personal Antispam, the program's Setup Assistant helped you configure your e-mail program (in your case: Apple Mail). You can run the setup assistant again by clicking General in the filter list and then clicking the Reconfigure... button.
    If that doesn't work, your best bet is to contact Intego's support team. They will be able to help you better than people on these forums. Here's their contact support form: https://intego.zendesk.com/anonymous_requests/new

  • How many mails i can send at a time per day using APEX mail system?

    HI,
    I am working on application, when i have written a process to send mail, i have a project where i have to send mail at a time for all the email id's
    given list there are upto 5000 email id's where text body also include certain set of data from a report. thinking at a time 3000 its difficult i divided
    it region wise, but still each region have 2000 odd email id's. during testing when i run the process just 950 mails i could send then i got a error
    saying "ORA-20001: You have exceeded the maximum number of email messages per workspace. Please contact your administrator." so please
    can any one help me to know How many mails i can send at a time per day using APEX mail system?
    Thanks in advance
    Gowthami

    Hi jfosteroracle,
    You are getting the error may be the following reason,
    Check the following,
    Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
    Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
    It may be the reason.
    Thank you.     
    Regards,
    Gurujothi
    Edited by: Gurujothi on Jun 27, 2012 5:54 AM

  • Apple Mail and Gmail IMAP

    With the iPhone coming to Verizon soon, I'd like to move back to Apple Mail from Gmail, but still want to keep Gmail as my source because my domain is setup with Google Apps but mostly because of the unparalleled spam filtering Gmail has. My problem is that even though I've configured Apple Mail exactly as Google recommends (shown below), I still have some issues.
    From the Mail menu, click Preferences > *Accounts > Mailbox Behaviors*
    Drafts:
    Store draft messages on the server > *do NOT check*
    Sent:
    Store sent messages on the server > *do NOT check*
    Junk:
    Store junk messages on the server > checked
    Delete junk messages when > Never
    Trash:
    Move deleted messages to the Trash mailbox > *do NOT check*
    Store deleted messages on the server > *do NOT check*
    I want to have true IMAP functionality here, but I'm not getting it. Sent messages work fine...if I send a message, it shows up in Apple Mail in the Sent folder and when I go to Gmail it is also in the Sent folder. BUT...when I delete a message in Apple Mail it goes to the Gmail *All Mail* folder (in Apple Mail and Gmail) and never shows up in the Gmail Trash on either Apple Mail or Gmail...where it should. I've tried changing the settings under *Apple Mail > Trash* but that doesn't fix the problem.
    I realize some of you might be inclined to say "It's Google problem...ask there" but I'm hoping a Gmail user here might have had this same issue before. Even as a dedicated Apple person for many years, I still can't give up Gmail and their spam filtering that Apple Mail can't come close to. Thanks for any suggestions.

    Thanks, Andy. I should have posted a closure statement on this thread as I finally figured everything out. The most frustrating thing is Google's own advice at http://mail.google.com/support/bin/answer.py?answer=78892# couldn't further from correct. After many hours of experimenting with settings, I finally came up with the correct ones. In fact, I'm in the process of writing an article about it since there is simply no definitive guidance on the web that I've been able to find in the time I've searched.
    Your comments are on target...everything on the *Behaviors Tab* needs to be checked (excepts Notes) and the *Delete when* settings must be set to Never. But there are a few other things that must be done, including some changes on Gmail Settings before Mail and Gmail will be perfectly synchronous. I'll post the entire solution on this forum when I finish the graphics.

  • HT5631 how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    In order to use your Apple ID to create an iCloud account, the primary email address associated with the ID must first be verified.  To do this, Apple will send a verification email to your account and you must respond to the email by clicking the Verify Now link.  Make sure you are check the spam/junk folder as well as the inbox.  If it isn't there, go to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right click Resend under your Primary Email Address to resend the verification email.

  • Mail and IMAP driving me mad! Is there a setup guide anywhere???

    I am attempting to move over to using Apple's 'Mail' as an e-mail client instead of Microsoft Entourage, this is to start using the iCal and Address book apps as much as anything else, also starting to sync my Palm to these apps as well, perhapps to be ready for the iPhone!!
    Mail seems to be a very confusing programme - and I've been using e-mail for more years than I can remember. It reminds me of trying to use Word - too helpful for its own good!
    My old workflow: I am used to using POP accounts with Entourage. In the advanced tab on the account section I could click a checkbox to:
    "alow on-line access (show account in folder list)"
    This let me check and delete spam and large e-mails before downloading them to the local computer. Very simple and quick to use, Apple-L would update the folder view and then Apple-K to download the e-mails I wanted to my local computer
    I can't find an equivalent in Mail so I guess I have to use an IMAP account. My ISP does provide this service - when I'm away from my regular e-mail computer I can use a web interface to acces my e-mail from anywhere.
    So I start configuring my Mail accounts to use IMAP. What is very confusing is where do I actually 'see' the contents of various folders on the server and how these relate to the folders on the local Mac.
    I think I have figured out that the drawer type folders at the top of the screen - ie Inbox - point at the inbox on the server and the black @ things towards the bottom show any other folders on the server, such as sent, etc. I've played around with creating and deleting new folders br right clicking on the @ icons and they do appear on the server when I check them via a web browser.
    What is not clear at all is how to manage e-mail I want to move from the server to archive or store tham on my local machine. Clicking on GET mail doesn't seem to do anything. I can drag and drop mail from the server folders to a local folder and it then looks like it has been moved, ie it 'disappears' from the Inbox folder. However - when I check the server through a web interface the e-mails are still there...! Meaning they would build up over time and I'd have to delete them via web access which seems crazy to me.
    There seems to be absolutely no help to be found from within Apple Help, so can anyone throw me a lifeline, or should I just go back to using Entourage?
    At least Entourage alows you to use the cursor keys to move up and down sub-folders...

    I'm not sure how you consider Entourage or any other email client that you have used less confusing than Mail but the layout in the mailboxes drawer for an IMAP type account is similar between Mail and Entourage and the behavior with an IMAP type account is identical with all email clients. The only exception between Mail and Entourage in this regard is the location of the account's Inbox mailbox.
    With Mail, the Inbox mailbox for all accounts regardless the account type is located under Inbox in the mailboxes drawer.
    This let me check and delete spam and large e-mails before
    downloading them to the local computer. Very simple and quick
    to use, Apple-L would update the folder view and then Apple-K
    to download the e-mails I wanted to my local computer
    There is something similar with Tiger Mail. Select Command-I. If you are accessing multiple accounts with Mail, select the POP account via the Account selection.
    Under the Messages on Server tab at Show Messages, select All messages on POP server.
    This reveals From, Subject, Date and Size only for all messages on the server. You can select a message or messages and then Remove from Server.
    An IMAP type account will not help in this regard since the account's Inbox mailbox is synchronized with the server. Messages aren't received in the way messages are downloaded with a POP type account.
    My ISP does provide this service - when I'm away from my
    regular e-mail computer I can use a web interface to acces
    my e-mail from anywhere.
    I'm sure your ISP provides the same with a POP type account but you cannot keep messages sent via webmail access or any other server stored messages besides received messages synchronized with the email client used to access the account.
    So I start configuring my Mail accounts to use IMAP. What is very
    confusing is where I can actually 'see' the various folder on the server
    and how these relate to the folders on the local Mac.
    As provided, the account's Inbox mailbox is located under Inbox in the mailboxes drawer which cannot be changed. All server stored mailboxes are located under the IMAP account's icon in the mailboxes drawer which is identical to Entourage.
    Clicking on GET mail doesn't seem to do anything.
    Clicking on Get Mail is no different for any other account type. Selecting Get Mail checks the incoming mail server for new messages. Selecting Inbox or the account's Inbox mailbox under Inbox in the mailboxes drawer also
    synchronizes with the server (for the account's Inbox mailbox only) with an IMAP type account.
    I can drag and drop mail from the server folders to a local folder
    and it then looks like it has been moved, ie it 'disappears' from
    the Inbox folder. However - when I check the server through a
    web interface the e-mails are still there...! Meaning they would
    build up over time and I'd have to delete them via web access
    which seems crazy to me.
    Transferring messages from the account's Inbox mailbox or from any other server stored mailbox to an "On My Mac" location mailbox which is stored locally on the hard drive stores the transferred messages locally on the hard drive and removes the messages from the server at the same time but there is a delay with the actual removal from the server process. If you want this to be instant, you can take the account offline and back online and the same occurs when quitting and relaunching Mail. When launching Mail when connected to the internet, all server stored messages/mailboxes are synchronized with the server and the same for when taking the account offline and online.
    If you want to keep a copy of a message on the server and stored on the hard drive, you can select a message and use the Copy To command instead of the Move To command or dragging messages from a server stored mailbox to a mailbox stored locally on the hard drive.

  • How to reinstall mail and restore preferences

    Mail is going crazy on my MBP and MP. I am on IMAP and the spam functions on both my mac won't work. I have tried a restore and nothing will change. I have some rules and preferences that I would like to keep. How do I uninstall mail and do a clean reinstall? I have app cleaner. I also want to reload my junk mail rules and signatures.
    Cheers.

    "Mail is going crazy," is not a very descriptive explanation of your issues. You should provide some details, i.e, what mail service provider are you sing, what error messages are you getting, are you using Mail's junk filtering or a program like SpamSieve, have you tried deleting the Mail accounts and adding them back?
    In any case, don't delete the Mail app, unless you want to reinstall Mavericks, the only way to get it back.

  • Hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail

    hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail
    New mail that I want is [email protected]
    Alternative to the Old one

    From  King Penguin
    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • Is there a limit to number of conditions I can set in Mail's spam filter?

    There seems to be a limit to the amount of conditions I can set in Mail's spam filter. ie there's no scroll bar down the side - the list just goes as long as my computer monitor's length will allow, and that's it.
    Is that right - or is there a way to set more than about 28 conditions (in my case).

    Tim,
    yes, you can add more conditions (I don't know whether this is a limit or not) using AppleScript - the problem with the approach is that you will have somewhat of a hard time editing the rule in Mail after that as the buttons at the bottom of the window will no longer be accessible...
    Look at the following AppleScript as an example on how to add a new condition to a rule called "Junk Rule"
    Click to open this script in your Script Editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; padding: 0.2em; font-size: 10px; width:500px">tell application "Mail"
    tell rule "Junk Rule"
    set theNewCondition to make new rule condition at end of rule conditions
    tell theNewCondition
    set rule type to subject header
    set expression to "viagra"
    set qualifier to does contain value
    end tell
    end tell
    end tell</pre>
    Andreas

  • Problem with Apple Mail and GMail

    Can anyone help me with the following problem. I use Apple Mail as my client and GMail iMap as my server. When I create mails I often get a problem (I think caused by the trackpad) where the mouse jumps and I seem to generate a spurious draft email. The result is that I have a mailbox called "All Mail" in the Mail sidebar which contains over 10,000 messages, even though I only have a few hundred real messages (inbox, sent and spam) and my drafts folder is empty. In this mailbox there are numerous versions of the same emails saved during the creation of the email, all slightly different. I just don't understand what is going on.

    Hi There
    For Gmail setup using apple mail use this guide
    http://mail.google.com/support/bin/answer.py?answer=13275
    POP access on yahoo accounts is not free. A yahoo mail plus account is needed.
    As far as I am aware Hotmail does not allow any POP access at all. I couldn't find any specific information on POP access in Hotmail's help site.
    Hope this helps

  • How to include attachments with e-mail and to verify that they have been sent.

    When I try to attach a document or photo to an e-mail and use "browse" to find the attachment, then click it. The only option is open. When I click that there is no evidence or indication that the attachment has been made. How can I attach photos or documents to e-mail messages? Then, how can I verify that the attachments have really been sent with the message?

    * Outgoing (SMTP) server: you need to use your ISP (Internet Service Provider) SMTP server. Call your ISP to know your SMTP (mail sending) server. In case you are unable to get SMTP server, you can use WebMail for email sending.
    For OUTGOING MAIL SERVER I am required to add the following:
    HOST NAME
    (usually looks like smtp.example.com - Since I have Comcast as my it would look like smtp.comcast.net)
    USER NAME optional
    PASSWORDptional
    Since you use comcast, you have comcast e-mail. You need to ask them what the correct settings are to set up your comcast e-mail account on a mobile device and plug in the same information for the outgoing (SMTP) server for the account you're trying to set up.
    Warning: I'll predict now that a lot of your e-mail will get filtered as spam on the receiving end because the domain name in your email address is NOT going to match the domain name of the server it's originating from.
    You might want to look into a mail service provider that actually provides their own outgoing mail servers.

Maybe you are looking for

  • Error message when trying to view PDF files online

    When attempting to view pdf files I get the following error message: There is a problem with adobe acrobat/reader. If it is running, please exit and try again. (507:507) Per instructions found in the forum, I have reinstalled and made sure that the b

  • ORA-22275: invalid LOB locator specified

    Hello, I use Oracle 11.2.0.3. APEX 4.2.2... Listener 2.0.3 .... Glassfish server 4.0. When I run this procedure ( that is used in this tutorial ) I get ORA-22275: invalid LOB locator specified. The error persists over Glass fish 3.0.2, Listener 2.0.1

  • Libproxy.so eat out the last past of my request with space in the name

    Hi, I used the following 2 configurations: 1. Solaris: iPlanet Web Server WebLogic 6.1 2. W2000: IIS WebLogic 6.1 Both of the web server just work as a gateway. All static and dynamic pages (images, JavaScript file, CSS file) are served by the WebLog

  • Reports - designer- reports problems

    Hello, I captured the design of a report (the report works fine) created with report builder 10g in Design Editor 10g and traied to generate it back using generate facility . I got the following messages: Report Generator has failed, please send the

  • How do I transition from video to audio in keynote?

    Help! How do I transition from video to audio in keynote? or even audio to video and back to audio? Any help would be appreciated.... Missy PowerMac G5   Mac OS X (10.4.6)