Problem sending pop email
I have a problem sending (not receiving) pop email.
I am connected directly to my ISP (virgin.net, part of virginmedia.com) on adsl – (ie not trying to connect via another isp) - sharing the internet connection wirelessly via a modem/router to 2 Macs (macbooks), a Vista laptop and wiredly to an XP desktop.
The problem only happens with the Macs, not the Windows machines. One of the Macs is running Tiger with mail 2.1.3, the other Leopard with mail 3.2. Both are affected.
The problem only arises when trying to send longer messages (a few paragraphs - not MB). There is no problem sending short (one or two word) messages. I'm not sure where the cutoff comes.
What happens is that the messages are simply timed out, after a lengthy attempt to send. The error message is generally
‘The server response was: 4.4.2 omf09.hostedemail.com Error: timeout exceeded ‘
but sometimes (more recently, perhaps as a result of all the fiddling I describe below)
‘An error occurred while delivering this message via the SMTP server "(null)" ‘
This started on Friday 30th May. That day we woke up to find we were unable to receive email either. Looking at the mail accounts, I saw that the (incoming) authentication had spontaneously(?) changed from "password" to MD5 challenge response. Since returning it to password, we've been able to receive mail on both machines.
We only noticed the problem with sending a few days later as we hadn’t tried to send any longer messages; so it’s not absolutely certain that it’s related – but it seems likely.
We can send pop email from our googlemail accounts. We can also use virgin’s webmail with no problems.
This is what I’ve tried to resolve the problem:
checked that the server etc settings are configured according to Virgin’s instructions at
http://www.virginmedia.com/help/email/set-up-pop-email.php#OS_X103
(on the advice of support there) deleted one of the affected accounts (and also removed the smtp server from the server list) and recreated it. No effect.
Installed Thunderbird and set up the same account. Same problem there.
Used Connection Doctor – shows connections to all servers as green
Rebooted the modem/ router, and both machines
Repaired permissions
Nothing seems to help.
I’ve done all this on the Tiger mac, on the theory that once I find the solution there is will also apply to the Leopard one ie that it’s not a glitch of some recent Leopard update.
Because the Windows machines (and webmail) work fine, Virgin clearly think that this is simply a Mac problem. I suspect that they have changed something in their setup, as it seems unlikely that it would otherwise affect two Macs running different versions of OSX in the same way.
I’ve only recently persuaded my wife to switch to a Macbook after her experience of Vista so this is not only annoying but embarrassing!
David
I have a Mac and have had the same problem with Virgin – I have been unable to send emails of more than about 300 words, or any replies or attachments, since May 30, the day Virgin “improved” their email services. Receiving emails and using webmail are not affected. Virgin’s helpline has been totally unhelpful, refusing to accept that it has anything to do with them or that some other Mac users are affected in the same way. Their fault team insists it’s a problem with my computer. I have O.S. 10.5.3 Leopard, having just upgraded, but the problem occurred when I was still on O.S. 10.4. Tiger. My email program is Entourage (which Virgin’s helpline hasn’t even heard of!). When the problem first occurred, I wasn’t able to send any emails, but by changing the Accounts advanced settings to what Virgin recommended when I phoned them, I could at least send short emails. (Their announcement of the email changes said, “Don’t worry, you don’t have to do anything.”) Virgin are trying to put a huge spin on this shabby treatment of Mac customers by saying, “We’re doing lots of things to make your experience with us even better” – but with friends like this, who needs enemies?
Similar Messages
-
Problems with POP email accounts set up on iPad air why can't I send emails?
I have an Ipad Air and am having problems with POP email account set up.
I can receive emails however I cannot reply or create a new email and send it.
Is there something I need to fix in Outgoing settings? these are the same as on my MacPro using same ISP provider Optus the only difference is that the Ipad has a prepaid sim card - however still with Optus.
Could someone help please? Thank youiOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
I have an Ipad 2 and are having problems sending out emails in one of my email address. This is a POP3 email Account? I always get a message reading that the email was not sent because the server does not allow relaying. I have no such problem with gmail. What could be the problem and how do I resolve this. Is it about settings?
Richard.Welcome to the Apple community.
If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do. -
I have problem sending a email ..spool not created using custom FM
Hi experts,
i have problem sending a email ..spool not created using custom FM...this the custom FM
* Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
Source code
this is the source code for this FM
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
PERFORM convert_spool_to_pdf.
IF sy-subrc IS NOT INITIAL.
MESSAGE e040(zhrcd) RAISING spool_not_created.
ENDIF.
PERFORM process_email USING email1
email2
email3
subject
attachment_name.
WAIT UP TO 5 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.....
Please let me know
Edited by: Thomas Zloch on Nov 16, 2010 5:53 PM - please use code tagsHi srinivas ,
Could you please Check
FORM summary_report .
DATA: lv_success TYPE i,
lv_error TYPE i,
lv_total TYPE i.
DESCRIBE TABLE gt_data LINES lv_success.
DESCRIBE TABLE gt_error LINES lv_error.
DESCRIBE TABLE gt_message LINES lv_error.
lv_total = lv_success + lv_error.
lv_total = lv_success.
gwa_summary-record = text-008."Number of Successful records.
gwa_summary-number = lv_success.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-009."Number of error records'.
gwa_summary-number = lv_error.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-010."Total number of records processed.
gwa_summary-number = lv_total.
APPEND gwa_summary TO gt_summary.
CLEAR gt_fieldcat.
gwa_fieldcat_summ-col_pos = 1 .
gwa_fieldcat_summ-fieldname = 'RECORD'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-011."Records
gwa_fieldcat_summ-outputlen = '70'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
gwa_fieldcat_summ-col_pos = 2 .
gwa_fieldcat_summ-fieldname = 'NUMBER'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-012."Number
gwa_fieldcat_summ-outputlen = '10'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
ENDFORM. " SUMMARY_REPORT
*& Form ERROR_REPORT
FORM error_report .
gt_fieldcat_err[] = gt_fieldcat[].
gv_fieldcat_err-col_pos = 1.
gv_fieldcat_err-fieldname = 'PERNR'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-070."Employee Number
gv_fieldcat_err-outputlen = '20'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
gv_fieldcat_err-col_pos = 2.
gv_fieldcat_err-fieldname = 'MESSAGE'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-071."Error Message
gv_fieldcat_err-outputlen = '80'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
ENDFORM. " ERROR_REPORT
*& Form FINAL_REPORT
FORM final_report .
DATA:lv_layout TYPE slis_layout_alv,
lt_events_summ TYPE slis_t_event,
lv_events_summ LIKE LINE OF lt_events_summ,
lt_events_det TYPE slis_t_event,
lv_events_det LIKE LINE OF lt_events_det,
lt_events_err TYPE slis_t_event,
lv_events_err LIKE LINE OF lt_events_det,
lt_events_msg TYPE slis_t_event,
lv_events_msg LIKE LINE OF lt_events_det.
lv_events_summ-name = 'TOP_OF_PAGE'.
lv_events_summ-form = 'TOP_OF_PAGE1'.
APPEND lv_events_summ TO lt_events_summ.
lv_events_det-name = 'TOP_OF_PAGE'.
lv_events_det-form = 'TOP_OF_PAGE2'.
APPEND lv_events_det TO lt_events_det.
lv_events_err-name = 'TOP_OF_PAGE'.
lv_events_err-form = 'TOP_OF_PAGE3'.
APPEND lv_events_err TO lt_events_err.
lv_events_msg-name = 'TOP_OF_PAGE'.
lv_events_msg-form = 'TOP_OF_PAGE4'.
APPEND lv_events_msg TO lt_events_msg.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_summ
i_tabname = 'IT_SUMMARY'
it_events = lt_events_summ
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_summary
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
IF CHK_DTL IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat
i_tabname = 'gt_data'
it_events = lt_events_det
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_data
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_error'
it_events = lt_events_err
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_message'
it_events = lt_events_err
TABLES
t_outtab = gt_message.
IF GT_MESSAGE[] IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_message.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
IS_PRINT =
i_screen_start_column = 0
i_screen_start_line = 0
i_screen_end_column = 0
i_screen_end_line = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDFORM. " FINAL_REPORT
*& Form top_of_page
text
FORM top_of_page1. "#EC CALLED
WRITE text-013."SUMMARY REPORT.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2. "#EC CALLED
WRITE text-014."DETAIL REPORT.
ENDFORM. "top_of_page
*& Form top_of_page3
text
FORM top_of_page3. "#EC CALLED
WRITE text-015."ERROR REPORT
ENDFORM. "top_of_page
*& Form EMAIL_NOTIFICATION
FORM email_notification .
DATA: lv_email1 TYPE somlreci1-receiver,
lv_email2 TYPE somlreci1-receiver,
lv_email3 TYPE somlreci1-receiver,
lv_subject TYPE char200,
c_flag TYPE c VALUE 'X',
lv_attachment TYPE char50.
CLEAR: lv_email1,
lv_email2,
lv_email3,
lv_subject,
lv_attachment.
SELECT SINGLE email1
email2
email3
FROM zhr_interface_pr
INTO (lv_email1,lv_email2,lv_email3)
WHERE zinterfaceid EQ gc_objectid.
IF sy-subrc EQ 0.
IF sy-batch EQ 'X'.
Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. "
Edited by: katewinslate@SAP on Nov 17, 2010 12:50 PM -
Error - Problem sending invitation email
Hi
I am trying to invite a admin user, but i never get an email from BC
This i the error when im resend invitation email :
Error - Problem sending invitation email
Thanks
FinnI am having a similar issue - the email appears to have been created but the activation email was never sent... now we can not remove the busted one or create a log in in a client! - how to repair?
-
Problem sending out emails offsite. iPad
Hi fellow apple users,
Could anyone assist?
I have no problem sending out email when using it at office.
But when I go offsite to send out email, i was prompted 'Cannot Send Mail'. A copy has been placed in your outbox. The recipient was rejected by server because it does not allow relaying.
Any good souls out there who can assist?
Thanks a bunch!Hi al,
Here is a link to a site that explains the whole "relaying" thing. Because there are various reasons you may be getting this message, thought this might be helpful:
http://www.gammadyne.com/relaying_denied.htm
Hope this sheds some light on your issue!
GB -
New user of Macbook Pro - Problems sending out emails
Hi, I have just recently bought a macbook pro. I have created my email account. However, when I try to send an email, the message is just stuck in the outbox. What do I do to overcome this problem please?
Hi Ernie,
I found the below information when going to "what are bt yahoo settings". Is this information useful at all?
What are the BT Yahoo! Mail settings?
To use an email program to send and receive BT Yahoo! Mail messages, you must designate a new incoming (POP) mail server and a new outgoing (SMTP) mail server. Outlook Express users can do this automatically by going to My account and clicking on 'Configure my email client settings'.
If your program won't let you add new POP or SMTP servers, you'll need to change your current server settings.
Here are the basic server settings for BT Yahoo! Mail:
Incoming Mail (POP3) Server:
mail.btinternet.com
Port (usually specified in 'Advanced settings')
110
Outgoing Mail (SMTP) Server:
mail.btinternet.com
Port (usually specified in 'Advanced Settings')
25
Account Name/Login Name:
Your email address (including the "@btinternet.com" or "@btopenworld.com" part)
Password:
Your BT Yahoo! password
Please note: if your client does not support SMTP authentication, you will not be able to use it to send your BT Yahoo! Mail messages. -
I have problem send any email from iPad2
I have a very weird situation.
I had this iPad2 for a few months and was able to receive and send email using 3 email accounts, from gmail, yahoo and hotmail without any problem.
Howeverm after I came back from a trip, I could only receive email, but cannot send any email from any of these accounts at all!
I am using WIFI. I have deleted all email accounts, turned off the ipad2, and started over a couple of times.
I tried to recreate these account again one by one. After added one account, I tested it only to see no email can be sent!
THere is no error message, no any information. All I know is the email I sent from my iPad disappeared!
Any one here can help?
Thanks!Disabling email scanning didn't fix it. I can open the Mozilla email client and it immediately tries to connect to the inbound AT&T mail server but then just sits there with no response. If I try to send a message same thing, tries to connect to outbound AT&T server but nothing. One of the options in the support doc said to remove the saved passwords and when the client restarts it will ask you to save your password again. The client never makes a connection to the server so it never has a chance to authenticate. Its almost like AT&T disabled their POP server.
-
Problem sending out email on iPhone 3GS
Hi,
I'm having problem sending email on my iPhone 3GS today only. Error "Cannot send Mail: an error occurred while delivering this message." WiFi is off; Turn on all the SMTP to Yahoo and Gmail; I have powered it off and on again, still my email are not sending out.
Help...~Ya - I am have the same problem. I have 4 accounts that are set-up on my phone. 3 Gmail - I can receive but not send out replies - all settings are matched up with gmail sever information. I have 1 Yahoo account which I can send and receive from no problem. Why??
-
Problems sending AOL emails (in UK)
I have had my Iphone for about 6 months now with no major problems but for the past few weeks I have been unable to send emails from my AOL email address. I also have a Googlemail address and this wirks fine, any suggeestions??
When trying to send an email it states
"the connection to the outgoing server "stmp.aol.com" failed"
this displays twice (ie you ok the 1st one and it appears again)
I ahve checked the settings and nothing has changed from when it used to work, the details
Settings/Mail/AOL/outgoing mail server is "stmp.aol.com" with other STMP servers marked on.
Any ideas, as I have deleted the account several times and re-installed but to no avail, any suggestions??Hey Guys,
Thanks for the replies. This is running on OSX client, not server and no authentication is required.
I did figure out a way to make it work late yesterday. I'm not sure if this is the "right way" or not, but it seems to do the trick.
In the automations tab in the system prefs panel of FCS, I went to "Assets Ready for Review [email]" and clicked through to the Responses screen. Here the "From" field was left blank. I put in a dummy email, and it worked just as advertised!
Michael, is this where you said to leave it blank and let FCS fill in the address? If so, where does it pull the address from? Can I have it pull from a metadata field and put the person that was working on the projects email in there, so the reviewer can respond to that real email instead of the dummy one that I used?
Just a thought....
Thanks again.
John -
Problems sending an email with a field attached.
Hi everyone,
Im having problems with sending an e-mail (with a field attached) to an external e-mail address.
Im using the followings functions:
<b>'SO_DOCUMENT_INSERT'
'SO_OBJECT_UPLOAD'
'SO_ATTACHMENT_INSERT'
'SO_OBJECT_SEND'</b>
Everything goes well (the functions are executed well), but the message stacks and it isnt be sent.
I can see it with the transaction SBWP, it is in the folder Exit/Documents with status: Waiting communication service .
Then I can send it from there clicking at the button send. And then it is sent.
Have anyone any clue about what Ive missed to do.
I really appreciate your help; I need to solve this problem as soon as possible.
Kind regards.Hai
report zemail no standard page heading line-size 220.
data: message_content like soli occurs 10 with header line,
receiver_list like soos1 occurs 5 with header line,
w_object_hd_change like sood1.
start-of-selection.
Receivers
receiver_list-recextnam = '[email protected]'.
receiver_list-recesc = 'E'.
receiver_list-sndart = 'INT'
receiver_list-sndpri = '1'.
append receiver_list.
General data
w_object_hd_change-objla = sy-langu.
w_object_hd_change-objnam = 'Object name'.
w_object_hd_change-objsns = 'P'.
w_object_hd_change-file_ext = 'HTM'. "<--this is important
Mail subject
w_object_hd_change-objdes = 'HTML from SAP/ABAP'.
Mail body
append 'Message content' to message_content.
append '<b>How''s this for sending HTML E-mail from SAP?</b>' to
message_content.
append '<p>New paragraph</p>' to message_content.
append '<p>Apostrophe’s</p>' to message_content.
Call function to send email - SAPConnect needs to be configured
call function 'SO_OBJECT_SEND'
exporting
object_hd_change = w_object_hd_change
object_type = 'RAW'
owner = sy-uname
tables
objcont = message_content
receivers = receiver_list.
2)
ABAP CODE
Email ITAB structure
DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
INCLUDE STRUCTURE SOLI.
DATA: END OF EMAIL_ITAB.
DATA: T_EMAIL LIKE SOOS1-RECEXTNAM. "EMail distribution list
CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
[email protected],[email protected].
Initialization
REFRESH EMAIL_ITAB.
Populate data
EMAIL_ITAB-LINE = Email body text 1.
APPEND EMAIL_ITAB.
EMAIL_ITAB-LINE = Email body text 2.
APPEND EMAIL_ITAB.
T_EMAIL = C_EMAIL_DISTRIBUTION.
--- EMAIL FUNCTION ---------------------------------------------------
REQUIRMENTS:
1) The user running the program needs a valid email address in their
address portion of tx SU01 under external comms -> SMTP -> internet
address.
2) A job called SAP_EMAIL is running with the following parameters:
Program: RSCONN01 Variant: INT User: XXX
This program moves mail from the outbox to the mail server using
RFC destination: SAP_INTERNET_GATEWAY_SERVER
INTERFACE:
1) APPLICATION: Anything
2) EMAILTITLE: EMail subject
3) RECEXTNAM: EMail distribution lists separated by commas
4) TEXTTAB: Internal table for lines of the email message
EXCEPTIONS:
Send OK = 0 otherwise there was a problem with the send.
CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
EXPORTING
APPLICATION = 'EMAIL'
EMAILTITLE = 'Email Subject'
RECEXTNAM = T_EMAIL
TABLES
TEXTTAB = EMAIL_ITAB
EXCEPTIONS
OTHERS = 1.
Function Z_SEND_EMAIL_ITAB
""Local interface:
*" IMPORTING
*" VALUE(APPLICATION) LIKE SOOD1-OBJNAM
*" VALUE(EMAILTITLE) LIKE SOOD1-OBJDES
*" VALUE(RECEXTNAM) LIKE SOOS1-RECEXTNAM
*" TABLES
*" TEXTTAB STRUCTURE SOLI
*- local data declaration
DATA: OHD LIKE SOOD1,
OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
DATA: BEGIN OF RECEIVERS OCCURS 0.
INCLUDE STRUCTURE SOOS1.
DATA: END OF RECEIVERS.
*- fill odh
CLEAR OHD.
OHD-OBJLA = SY-LANGU.
OHD-OBJNAM = APPLICATION.
OHD-OBJDES = EMAILTITLE.
OHD-OBJPRI = 3.
OHD-OBJSNS = 'F'.
OHD-OWNNAM = SY-UNAME.
*- send Email
CONDENSE RECEXTNAM NO-GAPS.
CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
*- for every individual recipient send an Email
(see OSS message 0120050409/0000362105/1999)
WHILE RECEXTNAM CS ','.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
ADD 1 TO SY-FDPOS.
SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDWHILE.
*- check last recipient in recipient list
IF RECEXTNAM <> SPACE.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDIF.
ENDFUNCTION.
FORM SO_OBJECT_SEND_REC *
FORM SO_OBJECT_SEND_REC
TABLES OBJCONT STRUCTURE SOLI
RECEIVERS STRUCTURE SOOS1
USING OBJECT_HD STRUCTURE SOOD1.
DATA: OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
EXTERN_ADDRESS = 'X'
OBJECT_HD_CHANGE = OBJECT_HD
OBJECT_TYPE = 'RAW'
OUTBOX_FLAG = 'X'
SENDER = SY-UNAME
IMPORTING
OBJECT_ID_NEW = OID
SENT_TO_ALL = TO_ALL
OFFICE_OBJECT_KEY = OKEY
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
X_ERROR = 20
OTHERS = 21.
IF SY-SUBRC <> 0.
RAISE OTHERS.
ENDIF.
ENDFORM.
FORM INIT_REC *
FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
CLEAR RECEIVERS.
REFRESH RECEIVERS.
MOVE SY-DATUM TO RECEIVERS-RCDAT .
MOVE SY-UZEIT TO RECEIVERS-RCTIM.
MOVE '1' TO RECEIVERS-SNDPRI.
MOVE 'X' TO RECEIVERS-SNDEX.
MOVE 'U-' TO RECEIVERS-RECNAM.
MOVE 'U' TO RECEIVERS-RECESC.
MOVE 'INT' TO RECEIVERS-SNDART.
MOVE '5' TO RECEIVERS-SORTCLASS.
APPEND RECEIVERS.
ENDFORM.
3)
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
DATA L_NUM(3).
Creation of the document to be sent
File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
Mail Subject
DOC_CHNG-OBJ_DESCR = 'Delivered Mail'.
Mail Contents
OBJTXT = 'Object text'.
APPEND OBJTXT.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Creation of the document attachment
LOOP AT ITAB_DATA.
CONCATENATE ITAB_DATA-PRODUCTOR
ITAB_DATA-VBELN
ITAB_DATA-POSNR
ITAB_DATA-MATNR INTO OBJBIN.
APPEND OBJBIN.
ENDLOOP.
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = 'ORDERS'.
APPEND OBJHEAD.
Creation of the entry for the compressed attachment
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'TXT'.
OBJPACK-OBJ_NAME = 'WEBSITE'.
OBJPACK-OBJ_DESCR = 'ORDERS.TXT'.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
Completing the recipient list
target recipent
clear RECLIST.
RECLIST-RECEIVER = '[email protected]'.
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
copy recipents
clear RECLIST.
RECLIST-RECEIVER = '[email protected]'.
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'.
RECLIST-COPY = 'X'.
APPEND RECLIST.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
ENDFORM. " SEND_MAIL
Thanks & Regards
Sreeni -
Problems sending & receiving email in Mail program in iMac
I've just recently been unable to send & receive emails on my iMac. So far, no problems with iPhones or iPad. I've tried changing the server settings with info from Verizon's site and no luck. The server settings show "offline." Any ideas?
Wondering if you received a response. Same happening for a while now.
-
I run three email accounts on one mac - a yahoo, a BT and a fsnet (now owned by orange). They all send and collect via a BT DSL Broadband. Worked fine till I installed snow leopard. Since then the yahoo and BT seem to get email, the fsnet only occasional mails. BUT the system has been set to delete from the server which it has done so my server thinks I've picked up my mail and deleted it! Is my mail lost and how can I fix Mail? I've tried deleting RSS feeds and changing socket settings to 25. At the moment the socket settings are 110 to make it work and nothing works if I change it to 25 - endless spinning wheel. Any ideas?
I don't know what to say - it seems to pick up occasional mail and I don't have any problem sending mail. My husband has been emailing me like mad but nothing received and nothing on the server. Nor emails I know have been sent from other people.The problem seems to be with Mail. I didn't change anything after installing Snow Leopard - it did its updating thing and seemed to work ok but I've only just worked out that things are disappearing. Let me know if there are other things you need.
-
Email problem sending .Mac email from pda Treo650
Hi,
I have been going crazy trying so send .Mac email from my Treo650, it has actually never worked. Receiving has always worked properly, as well as receiving and sending email from other accounts.
Downloading and sending through my computer works perfectly and I have copied my computer's .Mac account settings to the PDA, but I have not yet been able to send a single email.
Can anyone please help? Thanks in advance.
DavidIn Mail's menu, go to Edit > Attachments
Do you have "Always Send Windows-Friendly Attachments" checked? You should. -
Problem sending an email, please take a look!!
Hello!
I wuld like to know why I'm getting the following exception
everytime i try to send an email from a servlet with the classes below:
package radio.email;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.util.Date;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.Session;
import javax.mail.Store;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
import radio.email.SMTPAuthenticator;
public class SendEmail {
public void send(String smtpHost, String smtpPort, String smtpUser, String passWord, String from,
String[] to, String subject, String content, File[] attachsFile )throws MessagingException, AddressException {
try{
//Create a mail session
Properties props = new Properties();
props.put("mail.smtp.host", smtpHost);
props.put("mail.smtp.port", "" + smtpPort);
props.put("mail.smtp.auth", "true");
SMTPAuthenticator auth = new SMTPAuthenticator( smtpUser, passWord );
//Session session = Session.getDefaultInstance(props, auth);
Session session = Session.getInstance(props, auth);
session.setDebug(true);
// Construct the message
Message msg = new MimeMessage(session);
msg.setSentDate( new Date() );
msg.setFrom(new InternetAddress(from));
InternetAddress[] addressTo = new InternetAddress[to.length];
for (int i = 0; i < to.length; i++) {
addressTo[i] = new InternetAddress( to[i] );
msg.setRecipients(Message.RecipientType.TO, addressTo);
msg.setSubject(subject);
msg.setHeader("Disposition-Notification-To", from);
// create the message part
MimeBodyPart messageBodyPart = new MimeBodyPart();
//fill message
messageBodyPart.setContent( content, "text/plain");
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(messageBodyPart);
if ( attachsFile != null && attachsFile[0] != null ){
for ( int i = 0; i < attachsFile.length; i++ ){
messageBodyPart = new MimeBodyPart();
DataSource source = null;
source = new FileDataSource( attachsFile[i] );
messageBodyPart.setDataHandler( new DataHandler(source) );
messageBodyPart.setFileName( source.getName() );
multipart.addBodyPart(messageBodyPart);
//set the content
msg.setContent( multipart );
// Send the message
Transport.send(msg);
}catch( Exception e ) {
e.printStackTrace();
//throw new SacException();
My servlet
new radio.email.SendEmail().send("smtp.mail.yahoo.com.br", "587", "myuser", "xxxxxx",
"Marcos", to, "Web R�dio Contato", content, null);
The Exception:
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
root cause
java.lang.NoClassDefFoundError: javax/activation/DataSource
radio.servlets.SendEmailServlet.processRequest(SendEmailServlet.java:54)
radio.servlets.SendEmailServlet.doGet(SendEmailServlet.java:121)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
I have set the enviroment variables this way:
NAME = CLASSPATH
VALUE= C:\PATH\TO\mail.jar;C:\PATH\TO\javaee.jar
I have put the mail.jar and javaee.jar files in the Tomcat lib directory.
So I'm still having trouble, I get the same exception, then if you have any tip
please, post me. Thanks !Did you restart the server after making these changes?
You probably want activation.jar instead of javaee.jar.
Maybe you are looking for
-
How to access data from SAP Tables from a Webi report
hi all, I have a webi report for financial data and from a Bex query which is build on a Cube (this has data from 2 SAP ECC systems) i want to build a functionality where in i can call some SAP Table data from this webi report. i should be able to pa
-
Reference a Derived table in another Derived Table
Is it possible to reference a derived table from another derived table? I am using Business Object XI 3.0.
-
Once resetting appletv, the screen remains blank while the light remains lit.
-
TS1363 my iphone4 is not moving pass the boot screen help
Help my Iphone4 will not go pass the boot up page its just sittes there
-
Percentage of used table space not reduce after deletion
Hi.. This is my query to delete data from database:- delete from $tb_data where to_char(partition_dt,'MON') = '$mm'; The $tb_data and $mm is variable and the $tb_data will be read input table name (as example backup_nx160, backup_ngn and etc) and the