cancel
Showing results for 
Search instead for 
Did you mean: 

Email via UDF

Former Member
0 Kudos

HI Guys,

I am trying to send email via UDF following the below blog.

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=90570965&focusedCommentId=268961447&#comme...

I am Trying to use the one via graphical mapping!!

I have uploaded the files via Imported Archives and I am trying to execute the UDF.

It doesnt work!!

My question is am i missing something?

what is the host that I can mention ? let us assume that receiver has some email with gmail

I hav just uploaded the file which is mentioned!!

Thanks & Regards,

VK

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Check whether port 25 for smtp is enabled or not. Talk to BASIS. I would go for java mapping for sending mail rather UDF. The main reason is in java mapping you might have more log tracing than UDF. You might want to use log trace statments in the code to make sure the code fails. This could be mainly connection failure to firewall port opening.

Former Member
0 Kudos

Hey Man,

Thanks a lot for your answer!!

Here there is no complexity to go for Java mapping and also let us assume that tracing is not required

as we are sending the trace only via email to some Admin or End User.

I will try to check the one which you have mentioned.

By the way what is the host that I should mention?????

Thanks & Regards,

VK

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>By the way what is the host that I should mention?????

hostname or ip address of the server that host smtp service.

Former Member
0 Kudos

It means my PI server in which I am writing the UDF right?

The SMTP settings shouldnt be an Issue as the USERS are receiving general Alert mails in the mail box in PI.

Can you suggest anything else?

THanks & Regards,

VK

GabrielSagaya
Active Contributor
Former Member
0 Kudos

My question is more on the blog!!!!!!

Let us assume that SMTP settings are in place

then will i be able to send mails if i just import that archive files in mapping and use it in UDF?

Thanks,

VK

Former Member
0 Kudos

Ok i have some alternate solution now!!!! Let me go via that!!!!

Thanks & Regards,

VK