Issues in sending e-mail from FDM

Hi Experts,
I am working on FDM v 11.1.1.3, windows 2003 SP2, IIS 6.0 and I am trying to send an e-mail using the Send Mail accelerator and following is the code:
'Define variables etc.
strFromAddress = DW.Security.fUserEmailGet(DW.Connection.PstrUserID)
strToAddress = "[email protected]" '"YourToAddress"
strSubject = "Import Failed" '"YourSubjectLine"
strEmailMsgLine = "The import process has failed." '"YourMessageLine"
strSMTPServer = "smtp.gmail.com"
'CdoSendUsing enumeration-1=use smtp on local machine, 2=use smtp over network
intSendUsing = 1
'SMTP port on server
intSMTPPort = 25
Set objConfig = CreateObject("CDO.Configuration")     
With objConfig.Fields
     .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = intSendUsing
     .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSMTPServer
     .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")= intSMTPPort
     .Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
     .Update
End With
'Create CDO message object
Set objMsg = CreateObject("CDO.Message")     
'Assign config object to configuration property of message object
Set objMsg.Configuration = objConfig
'Set Message object settings and send mail
With objMsg
     .To = strToAddress
     .From = strFromAddress
     .Subject = strSubject
     .TextBody = strEmailMsgLine
     .Send
End With
'Destroy message objects
Set objMsg = Nothing
Set objConfig = Nothing
When I set 'CdoSendUsing' to 1, an eml file gets generated on the path 'C:\Inetpub\mailroot\Pickup' but I never receive it on my gmail ID. When I set the 'CdoSendUsing' to 2, I get an error on the .Send line saying 'The server rejected the sender address. Server response was 530 5.7.0 must issue a STARTTLS command first'. I also checked the MetaBase.XML, 'PickupDirectory' is set.
Please suggest where am I going wrong.
Thanks & Regards!

Just to confirm what Tony is saying :
- It's highly unlikely that Google functions as a Mail Relay for SMTP. If it did spammers would have a field day. An open relay is a mail server that will forward emails sent to it from unknown 3rd parties. I'm not familiar with your Google service; however, if they allow any type of mail relaying form you, it is probably secure with at least a login and password so they know it is coming from you. (This would mean when you use the CDONTS object, you'll need to supply a sender login and password)
- The reason why files are accumulating in the Pickup folder is you do not have a running SMTP service that is processing emails on the server that you pointed FDM to. For reference, the following folders are used by your typical SMTP mail service :
* Pickup : Email files waiting to be picked up by the SMTP server for processing (if you open the EML file in a text editor, should be apparent what it is) If the email is meant for an external party, it will be sent to their mail server. If the message is meant for an internal user, gets moved to Drop folder.
* Drop : Incoming messages for local users are stored here
* Queue : Messages that were sent but could not be immediately delivered are placed here. These will be resent at various intervals for a predetermined amount of attempts.
* Badmail : Messages that could not be delivered. Viewing in a text editor should indicate the failure, etc. Senders are not notified of these failures in most cases unless an Admin notifies them based on what is in this folder.
The easiest option here is to install SMTP on the FDM box and call it a day.
* MS Install Instructions for Server 2003 - http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr=true
* MS Configuration information for SMTP on IIS 6.0
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr=true
One NOTE :
- If your company has a mailserver (who doesn't?? :) ), the MX record will be linked to the IP of that machine and not your SMTP box. Certain anti-spam solutions as well as other mail servers might reject your emails as when they perform a reverse lookup, the IP address of your SMTP server will not match that of your MX entry (DNS).
If this happens, you should configure your FDM SMTP server to send its mail to your local mail server and talk to your IT department to make sure all necessary changes are in place. (i.e. you might need to configure Exchange to let your FDM SMTP use it as a mail relay, etc)

Similar Messages

  • E72- Unable to send e-mail from work mailbox

    I am unable to send e-mails from my work e-mail through my E72 although it receives perfectly. I have been in contact with Nokia via e-mail for the last 2 weeks and they have sent several suggestions to solve the issue but nothing is working. I have set-up my work e-mail on my husbands Blackberry  with the same settings and can receive and send perfectly. From that I conclude there is no issue with the settings I have or my work e-mail but with
    Nokia!! The latest 'help' I have received was to download a patch but I have no idea how to do this and get it onto my phone. So far Nokia have not replied to me.
    Any suggestions how to get this to work would be greatly appreciated

    If you're using a much older firmware, updating the phone would be a good idea.  Find the Software Updates section of nokia.com and type your phone model.  If you can't do an over-the-air update, download and install either the OVI Suite or the standalone Software Updater.  This may hard reset the phone, so back up anything important with OVI Suite first.
    Ignoring firmware for now, IMAP and URL's are like apples and oranges.  If you work for a small company, the server may always be called " mail.mycompany.com", but IMAP will never use an HTTP or HTTPS prefix.  URL's are typically associated with Microsoft Exchange servers.  Within the email program, check Options -> Settings -> Mailbox settings -> Mailbox settings -> Advanced mailbox settings.  Are "Outgoing email settings" set to something like
    User authentication: Same as for incoming
    Outgoing mail server: <compare to the setting for the Incoming server name; in a small company this will likely be the same>
    Since you're getting far enough for the mail sever to reject your connection, the other settings should be fine as-is.
    It does look like an authentication issue, so I'd say you're either hitting the wrong server or there's a bad username or password in there somewhere.  If the Blackberry works with an IMAP connection, then you should be using the same server name(s), and user/password.
    If all else fails, you can always try removing and readding the mailbox completely.  Choose Menu -> Applications -> Email -> Settings -> <highlight your work account> -> Options -> Remove mailbox.  And then set it up from scratch.  I hope that helps a little!

  • Can not send e-mails from account but can receive

    I have my e-mail account with ATT Yahoo.
    I received an account verification notice yesterday from ATT and I responded and they said I was verified.
    However after I did that I could not send e-mails from my Imac desktop but I am receiving them.
    I spend 4 and a half hours, yes 41/2 hours with both Apple Care and ATT and they could not correct the problem. Both discussions were with upper tier support personnel.
    Here are some facts that make this an odd issue:
    (1)
    I have other e-mail boxes from ATT and they can send and receive e-mails.
    (2)
    MY laptop can still send and receive e-mails from the e-mail account that is only receiving with my Imac.
    (3)
    All the settings are exactly the same and both Apple Care and ATT checked them.
    Is there anybody out there that may have an answer ?
    Both Apple Care and ATT blamed each other.
    My concern is that today I received another e-mail trying to verify my e-mail address for another e-mail address from ATT.
    I called ATT and they did not know why, I DID NOT open it up and trashed it.
    ATT has put a filter on my other e-mail accounts and hopefully that will end any problems with them.
    The account that has the issue is my main account and I cannot trust leaving it and am trying to avoid having to change it.
    Greg

    Hi Rachel, For what it will be worth, I was like a dog with a bone about this, so I decided to give it another go. I have success on both boxes. Here is what I did, I warn you now it was a lengthy process. Before you begin download all the upgrade steps from X.5.0 to X.5.6 as single stages ( for me the combo's did not work) and have them ready to use.
    1st Backup all your mail to CD/DVD not on the box. Check for any unsent mails anywhere in the box and then throw out all of the mail bits that are anywhere on the system in any folder. 2nd Install & Archive, 3rd Start up from Install DVD and check/set permissions, reboot. Enter all your ISP details to mail, see if you can send a mail to yourself. If not dump all the mail you tried and the .plists, reboot and install next update in the series, enter all details as before, try and send etc. If this fails dump again and reboot install next update etc.
    I started at X.5.1 and got to vX.5.4 before I got a result in that sys asked me if this server will do, I said yes and I got mail out. The server name was different that was offered but when all was over it showed as the correct one that it should be on port 995. I must add that I had the spinning cog wheel for quite some minutes before anything happened. I continued on this way for the rest of the updates. 1x1 until v.6 was reached. That was only on the G4, I now had to do it all again on the MacPro. This one was not so co-operative in that I had to do it twice, but now it also has Mail running. It is funny though that I had to reach X.5.4 on both machines before it came right. On the G4 I was using a retail disc and on the Intel the supplied for discs.
    Others on here may have a better and quicker way, but for me this did work. I am sure that there is a problem in either the mail app itself or the production of the Master DVD's.
    Whatever, good luck.

  • How do I set up my 3G to send/receive mail from MS exchange?

    How do I set up my 3G to send/receive mail from MS exchange?

    Welcome to the Apple Community.
    If you can't get your mail to work on Snow Leopard after June 30, you might want to try one of these approaches
    1. Configuring Mail in Snow Leopard
    2. Delete your mail account from Mail preferences and set it up again using the Mail Server Information.
    Some users have apparently encountered issues using this information in pre-Lion set ups (I haven't), Roger Wilmut has kindly provided instructions for those who find themselves with this problem.
    Entering iCloud email settings manually in Snow Leopard or Leopard

  • Why am I unable to send e mails from my IPhone or IPad and get message rejected from outgoing server, message placed in outbox

    Why am I unable to send e mails from my iPhone, and get message rejected by server and message put in outbox.  I have tried changing server ports but to no avail.  I am not very technically minded so any suggestions in laymans terms please.  This is a big problem as I work away frequently and need to answer e mails.  This also happens when at home and on my own wifi.

    Hey Pam3008
    The article below will give some troubleshooting steps to resolve Mail issues.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Sample code to send a mail from SAP

    Hi guys
    could any one provide me with the
    sample code to send a mail from SAP with text as the main body of that mail via bcs classes

    Hi,
         Please go through this code: U can send mail;
    Tables : zchp_cust-info.
    DATA: OBJCONT LIKE SOLISTI1 OCCURS 5 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: ENTRIES LIKE SY-TABIX.
    DATA: NAME(15).
    DATA: CON_NAME(20).
    DATA: req_num like zchp_cust_info.
    DATA: I_TAB_CHP LIKE ZCHP_CUST_INFO OCCURS 0 WITH HEADER LINE.
    *data: reno like ZCHP_CUST_INFO-req_num value .
    data input for the mail
    select * from zchp_cust_info
    appending table i_tab_chp where req_num = c_knumv.
    LOOP AT I_TAB_CHP.
    concatenate i_tab_chp-created_by i_tab_chp-req_num into CON_NAME.
    *WRITE: / con_name.
    ENDLOOP.
    Fill the document
    DOC_CHNG-OBJ_NAME = 'Refe'.
    DOC_CHNG-OBJ_DESCR = 'TESCRA Ref Number !'.
    DOC_CHNG-SENSITIVTY = 'P'.
    *OBJCONT = 'Tescra'.
    OBJCONT = CON_NAME.
    APPEND OBJCONT.
    OBJCONT = con_name.
    APPEND OBJCONT.
    DESCRIBE TABLE OBJCONT LINES ENTRIES.
    READ TABLE OBJCONT INDEX ENTRIES.
    DOC_CHNG-DOC_SIZE = ( ENTRIES - 1 ) * 255 + STRLEN( OBJCONT ).
    Fill the receiver list
    CLEAR RECLIST.
    RECLIST-RECEIVER = SY-UNAME.  " replace with <login name>
    RECLIST-REC_TYPE = 'B'.
    RECLIST-EXPRESS = 'X'.
    APPEND RECLIST.
    CLEAR RECLIST.
    RECLIST-RECEIVER = 'sapuser'.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    Send the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              DOCUMENT_TYPE  = 'RAW'
              DOCUMENT_DATA  = DOC_CHNG
              PUT_IN_OUTBOX  = 'X'
         TABLES
              OBJECT_CONTENT = OBJCONT
              RECEIVERS      = RECLIST
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
                   DOCUMENT_NOT_SENT          = 2
                  OPERATION_NO_AUTHORIZATION = 4
                   OTHERS                     = 99.
        CASE SY-SUBRC.
          WHEN 0.
            LOOP AT RECLIST.
              IF RECLIST-RECEIVER = SPACE.
                NAME = RECLIST-REC_ID.
              ELSE.
                NAME = RECLIST-RECEIVER.
              ENDIF.
              IF RECLIST-RETRN_CODE = 0.
                WRITE: / NAME, ': succesfully sent'.
              ELSE.
                WRITE: / NAME, ': error occured'.
              ENDIF.
            ENDLOOP.
          WHEN 1.
            WRITE: / 'Too many receivers specified !'.
          WHEN 2.
            WRITE: / 'No receiver got the document !'.
          WHEN 4.
            WRITE: / 'Missing send authority !'.
          WHEN OTHERS.
            WRITE: / 'Unexpected error occurred !'.
        ENDCASE.
    <b>Please provide points if the issue is solved.</b>
    Regards,
    Sunil

  • User not able to send the mail from other mail box on outlook 2007

    In my outlook(2007), i am using my mail box to send the mail and receiving the mail every thing working fine, now what happened , i am adding one of my users mail box to my outlook profile,and trying to send the mail from that mail box,when ever
    i am trying to send its give me the message called message undelivered  and permission error. as i am full permission on that users mail box. but still getting that issue.
    My lab info
    Exchange server 2010 sp3
    outlook 2007

    HI Paul,
    In exchange, you have something called Send as permission as well. Try to give send as permission to your self from the user's mailbox.
    In exchange> Reciepient config> Mailboxes> user mailbox> right click> Full Send as permssion
    or,
    Add-ADPermission -Identity "user1" -User "[email protected]" -ExtendedRights Send-As
    After you add your self in send as permission you need to wait for some time to propagate the settings or you can forcefully reset the information store services
    That should solve your issue.
    UMESH DEUJA MCP,MCTS,MCSA,CCNA

  • Sending e-mails from my iPhone

    For the last few days I have not been able to send e-mails from my iPhone. I get the error message, "connecting to the outgoing server "null" failed". I use Yahoo Mail. I am still receiving e-mails without a problem and all my mail folders are being updated. Does anybody have any suggestions on how to fix this? I have used this function successfully for months so I don't know what is suddenly causing a problem.
    Thanks.

    For first approach to any issue, reboot.
    A reset/reboot is:
    Go to Home Screen
    Press and Hold Home Button
    Keep holding and press and hold Lock Button
    Keep holding Both
    You will see Slide to Turn Off (Don't let go to slide, just keep holding)
    The phone will turn off (in time, but screen will look like it has some white lines)
    Keep Holding
    When you see the Apple Logo, you can let go.
    Turning off via the Slide to Turn off while good and fine to turn off, is more like the Sleep Mode on a computer. Thus any locked up issues in memory remain when you turn back on. A reboot as described is like doing a real Turn off and Turn On on a computer.
    You may also wish to read this tread about reboots and odd application behavior.
    http://discussions.apple.com/message.jspa?messageID=5851978#5851978

  • Sending OUTLOOK mail from Workflows

    HI ,
    Please help me in getting out of this error encountered during a sample workflow thing.
    Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail  need to send a recipient ,stating that he accepthed the request.
    Below I designed  that task.
    In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even  getting notification in my SBWP  in SAP INBOX.
    How should i send the mail to OUTLOOK from SAP.

    Hi Ranjith,
    Here's some friendly advice for you:
    - don't post the same question twice
    - if you get a specific error message ('wait for communications service'), try investigating it yourself by googling it.
    In this case, your issue is almost certainly with your mail setup - you can confirm this by trying to send a mail from SBWP to an external address. If so, it's a Basis issue, not workflow. You can safely hand it off to your Basis team.
    cheers
    Paul

  • Why can I not send e-mails from my e-mail account? I can receive e-mails. Not an iCloud account. It is a Bell Aliant account.

    Why can I not send e-mails from my e-mail account? I can receive e-mails. It is not an iCloud account it is a Bell Aliant account. An account I pay for.
    This is the second time in three months this has occurred. Bell Aliant suggested I contact Apple directly as the only option is to remove my e-mail account and reconfigure it. This will mean losing all my files. These files are very important as my account is a business account.
    Bell Aliant thought perhaps it is an Apple problem and that Apple may better be able to remedy the situation without me losing my e-mail files.

    Sorry ?
    An Internet email provider losses all your Mail and it's Apple's fault ??
    Did they explain how the app managed to delete all of your mail and then not even let you have access ?
    If that was the case the app should still be able to access the empty folders.
    I know there is often blame and counter blame in these situations but there are limits.
    9:50 pm      Friday; April 10, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Sending a mail from oracle database

    Hi,
    I have a requirement to send a mail from oracle database.I use UTL_TCP package for this.Although my procedure is executed successfully,i dont get the mails in my inbox.Please help me to figure out a solution.
    Thanks in advance....

    Hi, you must use UTL_SMTP package for send emails, it has more performance and features for debug. You must look the next code, this is a example for send emails.
    DECLARE
    c UTL_SMTP.CONNECTION;
    PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS
    BEGIN
    UTL_SMTP.WRITE_DATA(c, name || ': ' || header || UTL_TCP.CRLF);
    END;
    BEGIN
    c := UTL_SMTP.OPEN_CONNECTION('smtp-server.acme.com');
    UTL_SMTP.HELO(c, 'foo.com');
    UTL_SMTP.MAIL(c, '[email protected]');
    UTL_SMTP.RCPT(c, '[email protected]');
    UTL_SMTP.OPEN_DATA(c);
    send_header('From', '"Sender" <[email protected]>');
    send_header('To', '"Recipient" <[email protected]>');
    send_header('Subject', 'Hello');
    UTL_SMTP.WRITE_DATA(c, UTL_TCP.CRLF || 'Hello, world!');
    UTL_SMTP.CLOSE_DATA(c);
    UTL_SMTP.QUIT(c);
    EXCEPTION
    WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
    BEGIN
    UTL_SMTP.QUIT(c);
    EXCEPTION
    WHEN UTL_SMTP.TRANSIENT_ERROR OR UTL_SMTP.PERMANENT_ERROR THEN
    NULL; -- When the SMTP server is down or unavailable, we don't have
    -- a connection to the server. The QUIT call will raise an
    -- exception that we can ignore.
    END;
    raise_application_error(-20000,
    'Failed to send mail due to the following error: ' || sqlerrm);
    END;
    Also review the next link for get more information about the UTL_SMTP packege.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_smtp.htm#sthref15587
    Regards.

  • How to Send a Mail From the Oracle Applications.

    Hi,
    I was assigned a task to send a mail from the front end i.e., from oracle applications.
    but i have no idea.
    i am working on oracle apps R12.1.1 and 10g reports.
    First i have to create an rdf file and that rdf file i want to send as an attachment through mail from the apps.
    Any Advice will be of great help and i will follow accordingly.
    Thanks in Advance,
    Regards,
    Bharathi.S

    Hi,
    I was assigned a task to send a mail from the front end i.e., from oracle applications.
    but i have no idea.
    i am working on oracle apps R12.1.1 and 10g reports.
    First i have to create an rdf file and that rdf file i want to send as an attachment through mail from the apps.
    Any Advice will be of great help and i will follow accordingly.
    Thanks in Advance,
    Regards,
    Bharathi.S

  • When I send out mail from MS Outlook enterprise account in the office to my Mac at home they are received as "winmail.dat" files.  Even if I perform a "save as" to the correct file name the file format is still not recognized.  Why is this happening!?

    When I send out mail from MS Outlook enterprise account in the office to my Mac at home they are received as "winmail.dat" files.  Even if I perform a "save as" to the correct file name the file format is still not recognized.  Why is this happening!?

    http://www.joshjacob.com/mac-development/tnef.php

  • When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does nog display my name or e mail address. This only since upgrading my iPhone5 to iOS7

    When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does not display my name or e mail address. This only since upgrading my iPhone5 to iOS7. I've checked all settings etc. anyone have a solution please?

    Rectory wrote:
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    You need a separate email address but you've already ruled out that solution.

  • Send a mail from report 6i with his function "mail...."

    I have tried to send a mail from report using "File" ---> "Mail.." Function that is avaible on report, but it send a file "*.eps" that is not readble with the normal reader.....
    It is possible to send a PDF file ???
    Thank 's .....
    il vampiro

    Hello Mike,
    In Reports Builder 6i, Just change the Initial Value of the DESFORMAT System Parameter in the Object Navigator (under Data Model) to PDF, or any other format you want to mail the report in.
    Thanks,
    The Oracle Reports Team.

Maybe you are looking for

  • FaceTime with LED

    Hello! Is it good idea to use infrared LED with front camera in new iPhone for illuminating me (for example) when I am talking with someone by FaceTime at night? Thanks and sorry for my bad English.

  • Schema refresh.

    I have a database server that supports a number of seperate applications, each application having its own schema and tablespace(s). to refresh the test database from live (or dev from test) we currently use transportable tablespaces to copy the data,

  • Display Material provided by a vendor in Purchasing doc Component Overview.

    Hello Gurus, Is there a way to dsiplay the material which is set as, "Material provided by a vendor" in BOM,  in purchasing document Item->Component->Overview? I know that matreial provided by a vendor doesn't create requirement so thats why. Is ther

  • Almost all of RAM is being used, internet and other tasks are slow

    My computer seems to be getting slower.  I don't do much more than run Safari.  When I run the activity monitor it shows that I have 3.99 GB of memory used out of 4 GB of physical memory. 

  • DVCPRO HD Frame Rate Conversion  add noise

    We have shot some footage (DVCPRO HD 720p 59:94) converted just fine for SloMo. Though noticed it adds more noise. The noise flickers and rotates. Anybody else have this problem. We think it might be a problem in post(in conversion) In production we